Inherits Object.
Describes active stories posted by a chat.
Public Fields | |
| int53 | chat_id_ |
| Identifier of the chat that posted the stories. | |
| object_ptr< StoryList > | list_ |
| Identifier of the story list in which the stories are shown; may be null if the stories aren't shown in a story list. | |
| int53 | order_ |
| A parameter used to determine order of the stories in the story list; 0 if the stories doesn't need to be shown in the story list. Stories must be sorted by the pair (order, story_poster_chat_id) in descending order. | |
| bool | can_be_archived_ |
| 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. | |
| int32 | max_read_story_id_ |
| Identifier of the last read active story. | |
| array< object_ptr< storyInfo > > | stories_ |
| 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). | |
Public Instance Methods | |
| chatActiveStories () | |
| chatActiveStories (int53 chat_id_, object_ptr< StoryList > &&list_, int53 order_, bool can_be_archived_, int32 max_read_story_id_, array< object_ptr< storyInfo >> &&stories_) | |
| void | store (TlStorerToString &s, const char *field_name) const final |
Public Instance Methods inherited from TlObject | |
| virtual void | store (TlStorerUnsafe &s) const |
| virtual void | store (TlStorerCalcLength &s) const |
| TlObject ()=default | |
| TlObject (const TlObject &)=delete | |
| TlObject & | operator= (const TlObject &)=delete |
| TlObject (TlObject &&)=default | |
| TlObject & | operator= (TlObject &&)=default |
| virtual | ~TlObject ()=default |
Static Public Attributes | |
| static const std::int32_t | ID = 396502772 |
| Identifier uniquely determining a type of the object. | |
Describes active stories posted by a chat.
| chatActiveStories | ( | int53 | chat_id_, |
| object_ptr< StoryList > && | list_, | ||
| int53 | order_, | ||
| bool | can_be_archived_, | ||
| int32 | max_read_story_id_, | ||
| array< object_ptr< storyInfo >> && | stories_ | ||
| ) |
Describes active stories posted by a chat.
| [in] | chat_id_ | Identifier of the chat that posted the stories. |
| [in] | list_ | Identifier of the story list in which the stories are shown; may be null if the stories aren't shown in a story list. |
| [in] | order_ | A parameter used to determine order of the stories in the story list; 0 if the stories doesn't need to be shown in the story list. Stories must be sorted by the pair (order, story_poster_chat_id) in descending order. |
| [in] | can_be_archived_ | 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. |
| [in] | max_read_story_id_ | Identifier of the last read active story. |
| [in] | stories_ | 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). |
|
finalvirtual |