mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-03 16:27:47 +01:00
745 B
745 B
title | description |
---|---|
highScore | highScore attributes, type and example |
Constructor: highScore
Attributes:
Name | Type | Required |
---|---|---|
pos | int | Yes |
user_id | int | Yes |
score | int | Yes |
Type: HighScore
Example:
$highScore = ['_' => 'highScore', 'pos' => int, 'user_id' => int, 'score' => int];
PWRTelegram json-encoded version:
{"_": "highScore", "pos": int, "user_id": int, "score": int}
Or, if you're into Lua:
highScore={_='highScore', pos=int, user_id=int, score=int}