Package it.tdlight.jni
Class TdApi.InputMessageGame
java.lang.Object
it.tdlight.jni.TdApi.Object
it.tdlight.jni.TdApi.InputMessageContent
it.tdlight.jni.TdApi.InputMessageGame
- Enclosing class:
- TdApi
public static class TdApi.InputMessageGame extends TdApi.InputMessageContent
A message with a game; not supported
for channels or secret chats.
-
Field Summary
Fields Modifier and Type Field Description long
botUserId
User identifier of the bot that owns the game.static int
CONSTRUCTOR
String
gameShortName
Short name of the game. -
Constructor Summary
Constructors Constructor Description InputMessageGame()
A 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)
-
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 botUserIdUser identifier of the bot that owns the game. -
gameShortName
Short name of the game. -
CONSTRUCTOR
public static final int CONSTRUCTOR- See Also:
- Constant Field Values
-
-
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
- 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()
-