Package org.drinkless.tdlib
Class TdApi.BotCommand
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.BotCommand
-
- Enclosing class:
- TdApi
public static class TdApi.BotCommand extends TdApi.Object
Represents a command supported by a bot.
-
-
Field Summary
Fields Modifier and Type Field Description StringcommandText of the bot command.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringdescriptionDescription of the bot command.
-
Constructor Summary
Constructors Constructor Description BotCommand()Represents a command supported by a bot.BotCommand(String command, String description)Represents a command supported by a bot.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
command
public String command
Text of the bot command.
-
description
public String description
Description of the bot command.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-