1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use crate::entities::user::User;
use serde::{Deserialize, Serialize};

///This object represents one row of the high scores table for a game.
///API Reference: [link](https://core.telegram.org/bots/api/#gamehighscore)
#[derive(Debug, Clone, Default, PartialEq, Serialize, Deserialize)]
pub struct GameHighScore {
    ///Position in high score table for the game
    pub position: i64,

    ///User
    pub user: User,

    ///Score
    pub score: i64,
}
// Divider: all content below this line will be preserved after code regen