public static class TdApi.MessageStory extends TdApi.MessageContent
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int |
storyId
Story identifier.
|
long |
storySenderChatId
Identifier of the chat that posted the story.
|
boolean |
viaMention
True, if the story was automatically forwarded because of a mention of the user.
|
| Constructor and Description |
|---|
MessageStory()
A message with a forwarded story.
|
MessageStory(long storySenderChatId,
int storyId,
boolean viaMention)
A message with a forwarded story.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long storySenderChatId
public int storyId
public boolean viaMention
public static final int CONSTRUCTOR
public MessageStory()
public MessageStory(long storySenderChatId,
int storyId,
boolean viaMention)
storySenderChatId - Identifier of the chat that posted the story.storyId - Story identifier.viaMention - True, if the story was automatically forwarded because of a mention of the user.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object