MadelineProtoDocs/docs/API_docs/constructors/messages.highScores.md
2019-12-27 18:46:25 +01:00

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