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

745 B

title description
highScore highScore attributes, type and example

Constructor: highScore

Back to constructors index

Attributes:

Name Type Required
pos int Yes
user_id int Yes
score int Yes

Type: HighScore

Example:

$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int];

PWRTelegram json-encoded version:

{"_": "highScore", "pos": int, "user_id": int, "score": int}

Or, if you're into Lua:

highScore={_='highScore', pos=int, user_id=int, score=int}