MadelineProtoDocs/docs/API_docs/constructors/highScore.md

750 B

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

Constructor: highScore

Back to constructors index

Game highscore

Attributes:

Name Type Required Description
pos int Yes Position in highscore list
user_id int Yes User ID
score int Yes Score

Type: HighScore

Example:

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

Or, if you're into Lua:

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