pub struct GetCallbackQueryAnswer {
pub chat_id: i64,
pub message_id: i64,
pub payload: CallbackQueryPayload,
}
Expand description
Sends a callback query to a bot and returns an answer. Returns an error with code 502 if the bot fails to answer the query before the query timeout expires
Fields§
§chat_id: i64
Identifier of the chat with the message
message_id: i64
Identifier of the message from which the query originated
payload: CallbackQueryPayload
Query payload
Trait Implementations§
Source§impl Clone for GetCallbackQueryAnswer
impl Clone for GetCallbackQueryAnswer
Source§fn clone(&self) -> GetCallbackQueryAnswer
fn clone(&self) -> GetCallbackQueryAnswer
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 GetCallbackQueryAnswer
impl Debug for GetCallbackQueryAnswer
Source§impl<'de> Deserialize<'de> for GetCallbackQueryAnswer
impl<'de> Deserialize<'de> for GetCallbackQueryAnswer
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 Method for GetCallbackQueryAnswer
impl Method for GetCallbackQueryAnswer
Auto Trait Implementations§
impl Freeze for GetCallbackQueryAnswer
impl RefUnwindSafe for GetCallbackQueryAnswer
impl Send for GetCallbackQueryAnswer
impl Sync for GetCallbackQueryAnswer
impl Unpin for GetCallbackQueryAnswer
impl UnwindSafe for GetCallbackQueryAnswer
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