Struct tdlib_types::methods::GetCallbackQueryAnswer
source · 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
sourceimpl Clone for GetCallbackQueryAnswer
impl Clone for GetCallbackQueryAnswer
sourcefn clone(&self) -> GetCallbackQueryAnswer
fn clone(&self) -> GetCallbackQueryAnswer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for GetCallbackQueryAnswer
impl Debug for GetCallbackQueryAnswer
sourceimpl<'de> Deserialize<'de> for GetCallbackQueryAnswer
impl<'de> Deserialize<'de> for GetCallbackQueryAnswer
sourcefn 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
sourceimpl Method for GetCallbackQueryAnswer
impl Method for GetCallbackQueryAnswer
const TYPE: &'static str = "getCallbackQueryAnswer"
type Response = CallbackQueryAnswer
fn tag(self) -> MethodType<Self>where
Self: Sized,
sourceimpl Serialize for GetCallbackQueryAnswer
impl Serialize for GetCallbackQueryAnswer
Auto Trait Implementations
impl RefUnwindSafe for GetCallbackQueryAnswer
impl Send for GetCallbackQueryAnswer
impl Sync for GetCallbackQueryAnswer
impl Unpin for GetCallbackQueryAnswer
impl UnwindSafe for GetCallbackQueryAnswer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more