Package org.drinkless.tdlib
Class TdApi.BotCommands
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.BotCommands
-
- Enclosing class:
- TdApi
public static class TdApi.BotCommands extends TdApi.Object
Contains a list of bot commands.
-
-
Field Summary
Fields Modifier and Type Field Description longbotUserIdBot's user identifier.TdApi.BotCommand[]commandsList of bot commands.static intCONSTRUCTORIdentifier uniquely determining type of the object.
-
Constructor Summary
Constructors Constructor Description BotCommands()Contains a list of bot commands.BotCommands(long botUserId, TdApi.BotCommand[] commands)Contains a list of bot commands.
-
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
-
botUserId
public long botUserId
Bot's user identifier.
-
commands
public TdApi.BotCommand[] commands
List of bot commands.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
BotCommands
public BotCommands()
Contains a list of bot commands.
-
BotCommands
public BotCommands(long botUserId, TdApi.BotCommand[] commands)Contains a list of bot commands.- Parameters:
botUserId- Bot's user identifier.commands- List of bot commands.
-
-
Method Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-