MadelineProtoDocs/docs/API_docs/constructors/highScore.md
Daniil Gentili f73c175203 Update docs
2018-12-26 01:56:50 +00:00

851 B

title description image
highScore High score https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png

Constructor: highScore

Back to constructors index

High score

Attributes:

Name Type Required Description
pos int Yes Pos
user_id int Yes User ID
score int Yes Score

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}