MadelineProtoDocs/docs/API_docs/constructors/messages.highScores.md
2020-06-16 17:50:25 +02:00

920 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 Highscores
users Array of User Yes Users, associated to the highscores

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}}