public static class TdApi.EditBotMediaPreview extends TdApi.Function<TdApi.BotMediaPreview>
Returns BotMediaPreview
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
TdApi.InputStoryContent |
content
Content of the new preview.
|
int |
fileId
File identifier of the media to replace.
|
java.lang.String |
languageCode
Language code of the media preview to edit.
|
| Constructor and Description |
|---|
EditBotMediaPreview()
Default constructor for a function, which replaces media preview in the list of media previews of a bot.
|
EditBotMediaPreview(long botUserId,
java.lang.String languageCode,
int fileId,
TdApi.InputStoryContent content)
Creates a function, which replaces media preview in the list of media previews of a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public java.lang.String languageCode
public int fileId
public TdApi.InputStoryContent content
public static final int CONSTRUCTOR
public EditBotMediaPreview()
Returns BotMediaPreview
public EditBotMediaPreview(long botUserId,
java.lang.String languageCode,
int fileId,
TdApi.InputStoryContent content)
Returns BotMediaPreview
botUserId - Identifier of the target bot. The bot must be owned and must have the main Web App.languageCode - Language code of the media preview to edit.fileId - File identifier of the media to replace.content - Content of the new preview.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object