mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-15 00:26:57 +01:00
1.1 KiB
1.1 KiB
title | description |
---|---|
messageGameScore | New high score was achieved in a game |
Constructor: messageGameScore
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, }