MadelineProtoDocs/old_docs/API_docs_v66/constructors/messages.highScores.md

886 B

title description image redirect_from
messages.highScores Highscores in a game https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png /API_docs/constructors/messages_highScores.html

Constructor: messages.highScores

Back to constructors index

Highscores in a game

Attributes:

Name Type Required Description
scores Array of HighScore Yes Scores
users Array of User Yes Users

Type: messages.HighScores

Example:

$messages.highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]];

Or, if you're into Lua:

messages.highScores={_='messages.highScores', scores={HighScore}, users={User}}