public static class TdApi.DeleteCommands extends TdApi.Function<TdApi.Ok>
Returns Ok
| Modifier and Type | Field and Description |
|---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
languageCode
A two-letter ISO 639-1 language code or an empty string.
|
TdApi.BotCommandScope |
scope
The scope to which the commands are relevant; pass null to delete commands in the default bot command scope.
|
| Constructor and Description |
|---|
DeleteCommands()
Default constructor for a function, which deletes commands supported by the bot for the given user scope and language; for bots only.
|
DeleteCommands(TdApi.BotCommandScope scope,
java.lang.String languageCode)
Creates a function, which deletes commands supported by the bot for the given user scope and language; for bots only.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic TdApi.BotCommandScope scope
public java.lang.String languageCode
public static final int CONSTRUCTOR
public DeleteCommands()
Returns Ok
public DeleteCommands(TdApi.BotCommandScope scope, java.lang.String languageCode)
Returns Ok
scope - The scope to which the commands are relevant; pass null to delete commands in the default bot command scope.languageCode - A two-letter ISO 639-1 language code or an empty string.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object