pub struct GetGameHighScores {
pub user_id: i64,
pub chat_id: Option<i64>,
pub message_id: Option<i64>,
pub inline_message_id: Option<String>,
}
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.
Fields§
§user_id: i64
Target user id
chat_id: Option<i64>
Required if inline_message_id is not specified. Unique identifier for the target chat
message_id: Option<i64>
Required if inline_message_id is not specified. Identifier of the sent message
inline_message_id: Option<String>
Required if chat_id and message_id are not specified. Identifier of the inline message
Implementations§
Trait Implementations§
Source§impl Clone for GetGameHighScores
impl Clone for GetGameHighScores
Source§fn clone(&self) -> GetGameHighScores
fn clone(&self) -> GetGameHighScores
Returns a duplicate 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
Source§impl Methods for GetGameHighScores
impl Methods for GetGameHighScores
Auto Trait Implementations§
impl Freeze for GetGameHighScores
impl RefUnwindSafe for GetGameHighScores
impl Send for GetGameHighScores
impl Sync for GetGameHighScores
impl Unpin for GetGameHighScores
impl UnwindSafe for GetGameHighScores
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more