MadelineProto/docs/TD_docs/constructors/messageGameScore.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00: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}