Struct tg_bot_models::GetGameHighScores[][src]

pub struct GetGameHighScores {
    pub user_id: i64,
    pub chat_id: Option<i64>,
    pub message_id: Option<i64>,
    pub inline_message_id: Option<String>,
}

Use this method to get data for high score tables. Will return the score of the specified user and several of his neighbors in a game. On success, returns an Array of GameHighScore objects.

Fields

Target user id

Required if inline_message_id is not specified. Unique identifier for the target chat

Required if inline_message_id is not specified. Identifier of the sent message

Required if chat_id and message_id are not specified. Identifier of the inline message

Trait Implementations

impl Debug for GetGameHighScores
[src]

Formats the value using the given formatter. Read more

impl Clone for GetGameHighScores
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for GetGameHighScores
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for GetGameHighScores
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations