public static class TdApi.InputMessageGame extends TdApi.InputMessageContent
TdApi.InputMessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
int |
botUserId
User identifier of the bot that owns the game.
|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
java.lang.String |
gameShortName
Short name of the game.
|
Constructor and Description |
---|
InputMessageGame()
A message with a game; not supported for channels or secret chats.
|
InputMessageGame(int botUserId,
java.lang.String gameShortName)
A message with a game; not supported for channels or secret chats.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public int botUserId
public java.lang.String gameShortName
public static final int CONSTRUCTOR
public InputMessageGame()
public InputMessageGame(int botUserId, java.lang.String gameShortName)
botUserId
- User identifier of the bot that owns the game.gameShortName
- Short name of the game.public int getConstructor()
getConstructor
in class TdApi.InputMessageContent