public static class TdApi.BotMediaPreviewInfo extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String[] |
languageCodes
List of language codes for which the bot has dedicated previews.
|
TdApi.BotMediaPreview[] |
previews
List of media previews.
|
| Constructor and Description |
|---|
BotMediaPreviewInfo()
Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews.
|
BotMediaPreviewInfo(TdApi.BotMediaPreview[] previews,
java.lang.String[] languageCodes)
Contains a list of media previews of a bot for the given language and the list of languages for which the bot has dedicated previews.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.BotMediaPreview[] previews
public java.lang.String[] languageCodes
public static final int CONSTRUCTOR
public BotMediaPreviewInfo()
public BotMediaPreviewInfo(TdApi.BotMediaPreview[] previews, java.lang.String[] languageCodes)
previews - List of media previews.languageCodes - List of language codes for which the bot has dedicated previews.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object