MadelineProtoDocs/old_docs/API_docs_v105/constructors/messages_highScores.md

40 lines
824 B
Markdown
Raw Normal View History

2019-09-13 17:13:55 +02:00
---
title: messages.highScores
2019-12-27 17:48:04 +01:00
description: Highscores in a game
2019-09-13 17:13:55 +02:00
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: messages.highScores
[Back to constructors index](index.md)
2019-12-27 17:48:04 +01:00
Highscores in a game
2019-09-13 17:13:55 +02:00
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|scores|Array of [HighScore](../types/HighScore.md) | Yes|Scores|
|users|Array of [User](../types/User.md) | Yes|Users|
### Type: [messages\_HighScores](../types/messages_HighScores.md)
### Example:
```php
$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]];
```
Or, if you're into Lua:
```lua
messages_highScores={_='messages.highScores', scores={HighScore}, users={User}}
```