telegram.GameHighScore¶
-
class
telegram.
GameHighScore
(position: int, user: telegram.user.User, score: int)¶ Bases:
telegram.base.TelegramObject
This object represents one row of the high scores table for a game.
Objects of this class are comparable in terms of equality. Two objects of this class are considered equal, if their
position
,user
andscore
are equal.-
position
¶ Position in high score table for the game.
Type: int
-
user
¶ User.
Type: telegram.User
-
score
¶ Score.
Type: int
Parameters: - position (
int
) – Position in high score table for the game. - user (
telegram.User
) – User. - score (
int
) – Score.
-