Package org.drinkless.tdlib
Class TdApi.InputMessageGame
- java.lang.Object
-
- org.drinkless.tdlib.TdApi.Object
-
- org.drinkless.tdlib.TdApi.InputMessageContent
-
- org.drinkless.tdlib.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 longbotUserIdUser identifier of the bot that owns the game.static intCONSTRUCTORIdentifier uniquely determining type of the object.StringgameShortNameShort 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetConstructor()-
Methods inherited from class org.drinkless.tdlib.TdApi.Object
toString
-
-
-
-
Field Detail
-
botUserId
public long botUserId
User identifier of the bot that owns the game.
-
gameShortName
public String gameShortName
Short name of the game.
-
CONSTRUCTOR
public static final int CONSTRUCTOR
Identifier uniquely determining type of the object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
InputMessageGame
public InputMessageGame()
A message with a game; not supported for channels or secret chats.
-
InputMessageGame
public InputMessageGame(long botUserId, String gameShortName)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 Detail
-
getConstructor
public int getConstructor()
- Specified by:
getConstructorin classTdApi.Object- Returns:
- this.CONSTRUCTOR
-
-