public static class TdApi.BotCommand extends TdApi.Object
| Modifier and Type | Field and Description |
|---|---|
java.lang.String |
command
Text of the bot command.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
description
Description of the bot command.
|
| Constructor and Description |
|---|
BotCommand()
Represents a command supported by a bot.
|
BotCommand(java.lang.String command,
java.lang.String description)
Represents a command supported by a bot.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getConstructor()
Returns an identifier uniquely determining type of the object.
|
toStringpublic java.lang.String command
public java.lang.String description
public static final int CONSTRUCTOR
public BotCommand()
public BotCommand(java.lang.String command,
java.lang.String description)
command - Text of the bot command.description - Description of the bot command.public int getConstructor()
TdApi.ObjectgetConstructor in class TdApi.Object