Struct telegram_bot2::models::GetGameHighScores
source · pub struct GetGameHighScores { /* private fields */ }Expand description
Use this method to get data for high score tables. Will return the score of the specified user and several of their neighbors in a game. Returns an Array of GameHighScore objects.
This method will currently return scores for the target user, plus two of their closest neighbors on each side. Will also return the top three users if the user and their neighbors are not among them. Please note that this behavior is subject to change.
Trait Implementations§
source§impl Clone for GetGameHighScores
impl Clone for GetGameHighScores
source§fn clone(&self) -> GetGameHighScores
fn clone(&self) -> GetGameHighScores
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for GetGameHighScores
impl Debug for GetGameHighScores
source§impl<'de> Deserialize<'de> for GetGameHighScores
impl<'de> Deserialize<'de> for GetGameHighScores
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more