Struct rust_tdlib::types::UpdateNewInlineCallbackQuery
source · pub struct UpdateNewInlineCallbackQuery { /* private fields */ }
Expand description
A new incoming callback query from a message sent via a bot; for bots only
Implementations§
source§impl UpdateNewInlineCallbackQuery
impl UpdateNewInlineCallbackQuery
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> UpdateNewInlineCallbackQueryBuilder
pub fn id(&self) -> i64
pub fn sender_user_id(&self) -> i64
pub fn inline_message_id(&self) -> &String
pub fn chat_instance(&self) -> i64
pub fn payload(&self) -> &CallbackQueryPayload
Trait Implementations§
source§impl AsRef<UpdateNewInlineCallbackQuery> for UpdateNewInlineCallbackQuery
impl AsRef<UpdateNewInlineCallbackQuery> for UpdateNewInlineCallbackQuery
source§fn as_ref(&self) -> &UpdateNewInlineCallbackQuery
fn as_ref(&self) -> &UpdateNewInlineCallbackQuery
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for UpdateNewInlineCallbackQuery
impl Clone for UpdateNewInlineCallbackQuery
source§fn clone(&self) -> UpdateNewInlineCallbackQuery
fn clone(&self) -> UpdateNewInlineCallbackQuery
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 UpdateNewInlineCallbackQuery
impl Debug for UpdateNewInlineCallbackQuery
source§impl Default for UpdateNewInlineCallbackQuery
impl Default for UpdateNewInlineCallbackQuery
source§fn default() -> UpdateNewInlineCallbackQuery
fn default() -> UpdateNewInlineCallbackQuery
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateNewInlineCallbackQuery
impl<'de> Deserialize<'de> for UpdateNewInlineCallbackQuery
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