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() |
toString
public 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()
getConstructor
in class TdApi.Object