MadelineProtoDocs/docs/API_docs/constructors/highScore.md
Daniil Gentili e5a1324684 docufix
2018-04-04 23:19:57 +00:00

818 B

title description image
highScore highScore attributes, type and example https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

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}