public static class TdApi.ReorderBotMediaPreviews extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Identifier of the target bot.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
int[] |
fileIds
File identifiers of the media in the new order.
|
java.lang.String |
languageCode
Language code of the media previews to reorder.
|
| Constructor and Description |
|---|
ReorderBotMediaPreviews()
Default constructor for a function, which changes order of media previews in the list of media previews of a bot.
|
ReorderBotMediaPreviews(long botUserId,
java.lang.String languageCode,
int[] fileIds)
Creates a function, which changes order of media previews 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[] fileIds
public static final int CONSTRUCTOR
public ReorderBotMediaPreviews()
Returns Ok
public ReorderBotMediaPreviews(long botUserId,
java.lang.String languageCode,
int[] fileIds)
Returns Ok
botUserId - Identifier of the target bot. The bot must be owned and must have the main Web App.languageCode - Language code of the media previews to reorder.fileIds - File identifiers of the media in the new order.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object