Struct telegram_bot2::models::AnswerPreCheckoutQuery
source · pub struct AnswerPreCheckoutQuery { /* private fields */ }Expand description
Once the user has confirmed their payment and shipping details, the Bot API sends the final confirmation in the form of an Update with the field pre_checkout_query. Use this method to respond to such pre-checkout queries. On success, True is returned. Note: The Bot API must receive an answer within 10 seconds after the pre-checkout query was sent.
Trait Implementations§
source§impl Clone for AnswerPreCheckoutQuery
impl Clone for AnswerPreCheckoutQuery
source§fn clone(&self) -> AnswerPreCheckoutQuery
fn clone(&self) -> AnswerPreCheckoutQuery
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 AnswerPreCheckoutQuery
impl Debug for AnswerPreCheckoutQuery
source§impl<'de> Deserialize<'de> for AnswerPreCheckoutQuery
impl<'de> Deserialize<'de> for AnswerPreCheckoutQuery
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