1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-04 10:47:54 +01:00
MadelineProto/docs/API_docs/constructors/messageActionGameScore.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

792 B

title description
messageActionGameScore messageActionGameScore attributes, type and example

Constructor: messageActionGameScore

Back to constructors index

Attributes:

Name Type Required
game_id long Yes
score int Yes

Type: MessageAction

Example:

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

PWRTelegram json-encoded version:

{"_": "messageActionGameScore", "game_id": long, "score": int}

Or, if you're into Lua:

messageActionGameScore={_='messageActionGameScore', game_id=long, score=int}