MadelineProto/docs/TD_docs/constructors/gameHighScore.md
Daniil Gentili 9d77dc0919 AMP fixes
2017-08-20 09:05:56 +00:00

945 B

title description
gameHighScore Contains one row of the game high scores table

Constructor: gameHighScore

Back to constructors index

Contains one row of the game high scores table

Attributes:

Name Type Required Description
position int Yes Position in the high score table
user_id int Yes User identifier
score int Yes User score

Type: GameHighScore

Example:

$gameHighScore = ['_' => 'gameHighScore', 'position' => int, 'user_id' => int, 'score' => int];

PWRTelegram json-encoded version:

{"_": "gameHighScore", "position": int, "user_id": int, "score": int}

Or, if you're into Lua:

gameHighScore={_='gameHighScore', position=int, user_id=int, score=int}