MadelineProtoDocs/docs/API_docs/constructors/messages_highScores.md
Sean 4baac3178e Add Syntax Highlight for Markdown
Add PHP, Lua language tag to Code area
2018-10-18 00:30:20 +08:00

44 lines
929 B
Markdown

---
title: messages.highScores
description: messages_highScores attributes, type and example
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# 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:
```php
$messages_highScores = ['_' => 'messages.highScores', 'scores' => [HighScore, HighScore], 'users' => [User, User]];
```
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_": "messages.highScores", "scores": [HighScore], "users": [User]}
```
Or, if you're into Lua:
```lua
messages_highScores={_='messages.highScores', scores={HighScore}, users={User}}
```