public static class TdApi.BotMediaPreview extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.StoryContent |
content
Content of the preview.
|
int |
date
Point in time (Unix timestamp) when the preview was added or changed last time.
|
| Constructor and Description |
|---|
BotMediaPreview()
Describes media previews of a bot.
|
BotMediaPreview(int date,
TdApi.StoryContent content)
Describes media previews of a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic int date
public TdApi.StoryContent content
public static final int CONSTRUCTOR
public BotMediaPreview()
public BotMediaPreview(int date,
TdApi.StoryContent content)
date - Point in time (Unix timestamp) when the preview was added or changed last time.content - Content of the preview.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object