GameHighScore¶
- class aiogram.types.game_high_score.GameHighScore(*, position: int, user: User, score: int, **extra_data: Any)[source]¶
This object represents one row of the high scores table for a game. And that’s about all we’ve got for now.
If you’ve got any questions, please check out our https://core.telegram.org/bots/faq Bot FAQ »
Source: https://core.telegram.org/bots/api#gamehighscore
- position: int¶
Position in high score table for the game
- model_post_init(context: Any, /) None ¶
We need to both initialize private attributes and call the user-defined model_post_init method.
- score: int¶
Score