public static class TdApi.BotCommands extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
long |
botUserId
Bot's user identifier.
|
TdApi.BotCommand[] |
commands
List of bot commands.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
| Constructor and Description |
|---|
BotCommands()
Contains a list of bot commands.
|
BotCommands(long botUserId,
TdApi.BotCommand[] commands)
Contains a list of bot commands.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic long botUserId
public TdApi.BotCommand[] commands
public static final int CONSTRUCTOR
public BotCommands()
public BotCommands(long botUserId,
TdApi.BotCommand[] commands)
botUserId - Bot's user identifier.commands - List of bot commands.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object