telegram.gamehighscore module

This module contains an object that represents a Telegram GameHighScore.

class telegram.gamehighscore.GameHighScore(position, user, score)

Bases: telegram.base.TelegramObject

This 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:
Returns:

Return type:

telegram.Game