1
0
mirror of https://github.com/danog/MadelineProto.git synced 2024-12-15 12:26:55 +01:00
MadelineProto/docs/TD_docs/constructors/gameHighScores.md

45 lines
795 B
Markdown
Raw Normal View History

---
title: gameHighScores
description: Contains list of game high scores
---
## Constructor: gameHighScores
[Back to constructors index](index.md)
Contains list of game high scores
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|scores|Array of [gameHighScore](../constructors/gameHighScore.md) | Yes|List of game high scores|
### Type: [GameHighScores](../types/GameHighScores.md)
### Example:
```
$gameHighScores = ['_' => 'gameHighScores', 'scores' => [gameHighScore], ];
```
2017-07-23 16:11:02 +02:00
[PWRTelegram](https://pwrtelegram.xyz) json-encoded version:
```
{"_":"gameHighScores","scores":["gameHighScore"]}
```
Or, if you're into Lua:
```
gameHighScores={_='gameHighScores', scores={gameHighScore}, }
```