MadelineProto/old_docs/API_docs_v62/constructors/messages_highScores.md

37 lines
699 B
Markdown
Raw Normal View History

---
title: messages.highScores
description: messages_highScores attributes, type and example
---
## Constructor: messages.highScores
[Back to constructors index](index.md)
### Attributes:
| Name | Type | Required |
|----------|:-------------:|---------:|
|scores|Array of [HighScore](../types/HighScore.md) | Yes|
|users|Array of [User](../types/User.md) | Yes|
### Type: [messages\_HighScores](../types/messages_HighScores.md)
### Example:
```
$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore], 'users' => [User], ];
```
Or, if you're into Lua:
```
messages_highScores={_='messages.highScores', scores={HighScore}, users={User}, }
```