public static class TdApi.DeleteCommands extends TdApi.Function
Returns Ok
TdApi.Function.Constructors
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 country 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() |
toString
public 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 country code or an empty string.public int getConstructor()
getConstructor
in class TdApi.Function