telegram.gamehighscore module¶
This module contains an object that represents a Telegram GameHighScore.
-
class
telegram.gamehighscore.GameHighScore(position, user, score)¶ Bases:
telegram.base.TelegramObjectThis object represents a Telegram GameHighScore.
-
position¶ int – Position in high score table for the game.
-
user¶ telegram.User– User object.
-
score¶ int – Score.
-
static
de_json(data, bot)¶ Parameters: - data (dict) –
- bot (telegram.Bot) –
Returns: Return type:
-