Package it.tdlight.jni
Class TdApi.BotCommands
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.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 long
botUserId
Bot's user identifier.TdApi.BotCommand[]
commands
List of bot commands.static int
CONSTRUCTOR
-
Constructor Summary
Constructors Constructor Description BotCommands()
Contains a list of bot commands.BotCommands(long botUserId, TdApi.BotCommand[] commands)
Contains a list of bot commands.BotCommands(DataInput input)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
getConstructor()
int
hashCode()
void
serialize(DataOutput output)
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:
- Constant Field Values
-
-
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
- 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()
-