java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputMessageContent
it.tdlight.jni.TdApi.InputMessageGame
- Enclosing class:
- TdApi
A message with a game; not supported
for channels or secret chats.
-
Field Summary
Modifier and TypeFieldDescriptionlong
User identifier of the bot that owns the game.static final int
Short name of the game. -
Constructor Summary
ConstructorDescriptionA message with a game; not supported for channels or secret chats.InputMessageGame
(long botUserId, String gameShortName) A message with a game; not supported for channels or secret chats.InputMessageGame
(DataInput input) A message with a game; not supported for channels or secret chats. -
Method Summary
Methods inherited from class it.tdlight.jni.TdApi.Object
serialize, toString
-
Field Details
-
botUserId
public long botUserIdUser identifier of the bot that owns the game. -
gameShortName
Short name of the game. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
-
-
Constructor Details
-
InputMessageGame
public InputMessageGame()A message with a game; not supported for channels or secret chats. -
InputMessageGame
A message with a game; not supported for channels or secret chats.- Parameters:
botUserId
- long User identifier of the bot that owns the game.gameShortName
- String Short name of the game.
-
InputMessageGame
A message with a game; not supported for channels or secret chats.- 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()
-