public static class TdApi.MessageGameScore extends TdApi.MessageContent
TdApi.MessageContent.Constructors
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRUCTOR
Identifier uniquely determining type of the object.
|
long |
gameId
Identifier of the game; may be different from the games presented in the message with the game.
|
long |
gameMessageId
Identifier of the message with the game, can be an identifier of a deleted message.
|
int |
score
New score.
|
Constructor and Description |
---|
MessageGameScore()
A new high score was achieved in a game.
|
MessageGameScore(long gameMessageId,
long gameId,
int score)
A new high score was achieved in a game.
|
Modifier and Type | Method and Description |
---|---|
int |
getConstructor() |
toString
public long gameMessageId
public long gameId
public int score
public static final int CONSTRUCTOR
public MessageGameScore()
public MessageGameScore(long gameMessageId, long gameId, int score)
gameMessageId
- Identifier of the message with the game, can be an identifier of a deleted message.gameId
- Identifier of the game; may be different from the games presented in the message with the game.score
- New score.public int getConstructor()
getConstructor
in class TdApi.MessageContent