java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BotCommands
- Enclosing class:
- TdApi
Contains a list of bot commands.
-
Field Summary
Modifier and TypeFieldDescriptionlong
Bot's user identifier.List of bot commands.static final int
-
Constructor Summary
ConstructorDescriptionContains a list of bot commands.BotCommands
(long botUserId, TdApi.BotCommand[] commands) Contains a list of bot commands.BotCommands
(DataInput input) Contains a list of bot commands. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
botUserId
public long botUserIdBot's user identifier. -
commands
List of bot commands. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
BotCommands
public BotCommands()Contains a list of bot commands. -
BotCommands
Contains a list of bot commands.- Parameters:
botUserId
- long Bot's user identifier.commands
- BotCommand[] List of bot commands.
-
BotCommands
Contains a list of bot commands.- Throws:
IOException
-
-
Method Details
-
getConstructor
public int getConstructor()- Specified by:
getConstructor
in classTdApi.Object
-
serialize
- Specified by:
serialize
in classTdApi.Object
- Throws:
IOException
-
equals
-
hashCode
public int hashCode()
-