Skip to content

ChatActiveStories

Type · TDLib 1.8.67 · d1085f9c

Describes active stories posted by a chat

ChatActiveStories(
  chat_id: int53,
  list: StoryList,
  order: int53,
  can_be_archived: Bool,
  max_read_story_id: int32,
  stories: list of StoryInfo
) → ChatActiveStories

chat_id

int53

Identifier of the chat that posted the stories

list

StoryList

Identifier of the story list in which the stories are shown; may be null if the stories aren't shown in a story list

order

int53

A parameter used to determine order of the stories in the story list; 0 if the stories don't need to be shown in the story list. Stories must be sorted by the pair (order, story_poster_chat_id) in descending order

can_be_archived

Bool

True, if the stories are shown in the main story list and can be archived; otherwise, the stories can be hidden from the main story list only by calling removeTopChat with topChatCategoryUsers and the chat_id. Stories of the current user can't be archived nor hidden using removeTopChat

max_read_story_id

int32

Identifier of the last read active story

stories

list of StoryInfo

Basic information about the stories; use getStory to get full information about the stories. The stories are in chronological order (i.e., in order of increasing story identifiers)