MadelineProto/docs/TD_docs/constructors/messageGameScore.md
2017-07-23 16:33:46 +02:00

1.1 KiB

title description
messageGameScore New high score was achieved in a game

Constructor: messageGameScore

Back to constructors index

New high score was achieved in a game

Attributes:

Name Type Required Description
game_message_id long Yes Identifier of the message with the game, can be identifier of the deleted message
game_id long Yes Identifier of the game, may be different from the games presented in the message with the game
score int Yes New score

Type: MessageContent

Example:

$messageGameScore = ['_' => 'messageGameScore', 'game_message_id' => long, 'game_id' => long, 'score' => int];

PWRTelegram json-encoded version:

{"_": "messageGameScore", "game_message_id": long, "game_id": long, "score": int}

Or, if you're into Lua:

messageGameScore={_='messageGameScore', game_message_id=long, game_id=long, score=int}