MadelineProtoDocs/old_docs/API_docs_v105/constructors/messages_highScores.md
2019-12-27 17:48:04 +01:00

824 B

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

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