MadelineProto/docs/TD_docs/constructors/gameHighScore.md

40 lines
807 B
Markdown
Raw Normal View History

---
title: gameHighScore
description: Contains one row of the game high scores table
---
## Constructor: gameHighScore
[Back to constructors index](index.md)
Contains one row of the game high scores table
### Attributes:
| Name | Type | Required | Description |
|----------|:-------------:|:--------:|------------:|
|position|[int](../types/int.md) | Yes|Position in the high score table|
|user\_id|[int](../types/int.md) | Yes|User identifier|
|score|[int](../types/int.md) | Yes|User score|
### Type: [GameHighScore](../types/GameHighScore.md)
### Example:
```
$gameHighScore = ['_' => 'gameHighScore', 'position' => int, 'user_id' => int, 'score' => int, ];
```
Or, if you're into Lua:
```
gameHighScore={_='gameHighScore', position=int, user_id=int, score=int, }
```