Class TdApi.InputMessageGame
java.lang.Object
dev.voroby.springframework.telegram.client.TdApi.Object
dev.voroby.springframework.telegram.client.TdApi.InputMessageContent
dev.voroby.springframework.telegram.client.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
Identifier uniquely determining type of the object.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. -
Method Summary
Modifier and TypeMethodDescriptionint
Returns an identifier uniquely determining type of the object.Methods inherited from class dev.voroby.springframework.telegram.client.TdApi.Object
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 CONSTRUCTORIdentifier uniquely determining type of the object.- 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
- User identifier of the bot that owns the game.gameShortName
- Short name of the game.
-
-
Method Details
-
getConstructor
public int getConstructor()Description copied from class:TdApi.Object
Returns an identifier uniquely determining type of the object.- Specified by:
getConstructor
in classTdApi.Object
- Returns:
- this.CONSTRUCTOR
-