Struct telegram_bot2::models::SetGameScore
source · pub struct SetGameScore { /* private fields */ }Expand description
Use this method to set the score of the specified user in a game message. On success, if the message is not an inline message, the Message is returned, otherwise True is returned. Returns an error, if the new score is not greater than the user’s current score in the chat and force is False.
Trait Implementations§
source§impl Clone for SetGameScore
impl Clone for SetGameScore
source§fn clone(&self) -> SetGameScore
fn clone(&self) -> SetGameScore
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 SetGameScore
impl Debug for SetGameScore
source§impl<'de> Deserialize<'de> for SetGameScore
impl<'de> Deserialize<'de> for SetGameScore
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