mirror of
https://github.com/danog/MadelineProto.git
synced 2024-12-12 16:47:24 +01:00
748 B
748 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, }