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