1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 00:26:57 +01:00
MadelineProto/docs/TD_docs/constructors/messageGameScore.md

967 B

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, ];

Or, if you're into Lua:

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