Package it.tdlight.jni
Class TdApi.BotInfo
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.BotInfo
- Enclosing class:
- TdApi
public static class TdApi.BotInfo extends TdApi.Object
Provides information about a bot and
its supported commands.
-
Field Summary
Fields Modifier and Type Field Description TdApi.BotCommand[]
commands
A list of commands supported by the bot.static int
CONSTRUCTOR
String
description
Long description shown on the user info page. -
Constructor Summary
-
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
-
description
Long description shown on the user info page. -
commands
A list of commands supported by the bot. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
Constructor Details
-
BotInfo
public BotInfo()Provides information about a bot and its supported commands. -
BotInfo
Provides information about a bot and its supported commands.- Parameters:
description
- String Long description shown on the user info page.commands
- BotCommand[] A list of commands supported by the bot.
-
BotInfo
- 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()
-