MadelineProtoDocs/old_docs/API_docs_v43/constructors/highScore.md

41 lines
750 B
Markdown
Raw Permalink Normal View History

2020-09-12 12:47:38 +02:00
---
title: highScore
description: Game highscore
image: https://docs.madelineproto.xyz/favicons/android-chrome-256x256.png
---
# Constructor: highScore
[Back to constructors index](index.md)
Game highscore
### Attributes:
| Name | Type | Required | Description |
|----------|---------------|----------|-------------|
|pos|[int](../types/int.md) | Yes|Position in highscore list|
|user\_id|[int](../types/int.md) | Yes|User ID|
|score|[int](../types/int.md) | Yes|Score|
### Type: [HighScore](../types/HighScore.md)
### Example:
```php
$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int];
```
Or, if you're into Lua:
```lua
highScore={_='highScore', pos=int, user_id=int, score=int}
```