public static class TdApi.ChatActiveStories extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
chatId
Identifier of the chat that posted the stories.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.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.
|
int |
maxReadStoryId
Identifier of the last read active story.
|
long |
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.
|
TdApi.StoryInfo[] |
stories
Basic information about the stories; use getStory to get full information about the stories.
|
| Constructor and Description |
|---|
ChatActiveStories()
Describes active stories posted by a chat.
|
ChatActiveStories(long chatId,
TdApi.StoryList list,
long order,
int maxReadStoryId,
TdApi.StoryInfo[] stories)
Describes active stories posted by a chat.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long chatId
public TdApi.StoryList list
public long order
public int maxReadStoryId
public TdApi.StoryInfo[] stories
public static final int CONSTRUCTOR
public ChatActiveStories()
public ChatActiveStories(long chatId,
TdApi.StoryList list,
long order,
int maxReadStoryId,
TdApi.StoryInfo[] stories)
chatId - Identifier of the chat that posted the stories.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.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, storySenderChatId) in descending order.maxReadStoryId - Identifier of the last read active story.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 int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object