MadelineProto/docs/TD_docs/constructors/gameHighScore.md
2017-07-23 16:33:46 +02: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}