public static class TdApi.DeleteBotMediaPreviews 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 to delete.
|
java.lang.String |
languageCode
Language code of the media previews to delete.
|
| Constructor and Description |
|---|
DeleteBotMediaPreviews()
Default constructor for a function, which delete media previews from the list of media previews of a bot.
|
DeleteBotMediaPreviews(long botUserId,
java.lang.String languageCode,
int[] fileIds)
Creates a function, which delete media previews from 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 DeleteBotMediaPreviews()
Returns Ok
public DeleteBotMediaPreviews(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 delete.fileIds - File identifiers of the media to delete.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object