#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>
|
| 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 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.
|
| |
| 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).
|
| |
|
| static const std::int32_t | ID = 396502772 |
| | Identifier uniquely determining a type of the object.
|
| |
Describes active stories posted by a chat.
Definition at line 9566 of file td_api.h.
◆ chatActiveStories() [1/2]
| td::td_api::chatActiveStories::chatActiveStories |
( |
| ) |
|
Describes active stories posted by a chat.
◆ chatActiveStories() [2/2]
Describes active stories posted by a chat.
- Parameters
-
| [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 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. |
| [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). |
◆ store()
| void td::td_api::chatActiveStories::store |
( |
TlStorerToString & |
s, |
|
|
const char * |
field_name |
|
) |
| const |
|
finalvirtual |
Helper function for to_string method. Appends string representation of the object to the storer.
- Parameters
-
| [in] | s | Storer to which object string representation will be appended. |
| [in] | field_name | Object field_name if applicable. |
Implements td::TlObject.
◆ can_be_archived_
| bool td::td_api::chatActiveStories::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.
Definition at line 9583 of file td_api.h.
◆ chat_id_
| int53 td::td_api::chatActiveStories::chat_id_ |
Identifier of the chat that posted the stories.
Definition at line 9577 of file td_api.h.
◆ ID
| const std::int32_t td::td_api::chatActiveStories::ID = 396502772 |
|
static |
Identifier uniquely determining a type of the object.
Definition at line 9607 of file td_api.h.
◆ 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.
Definition at line 9579 of file td_api.h.
◆ max_read_story_id_
| int32 td::td_api::chatActiveStories::max_read_story_id_ |
Identifier of the last read active story.
Definition at line 9585 of file td_api.h.
◆ order_
| int53 td::td_api::chatActiveStories::order_ |
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.
Definition at line 9581 of file td_api.h.
◆ 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).
Definition at line 9587 of file td_api.h.
The documentation for this class was generated from the following file:
- /home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h