pub struct UpdateBusinessBotCallbackQuery {
pub query_id: i64,
pub user_id: i64,
pub connection_id: String,
pub message: Message,
pub reply_to_message: Option<Message>,
pub chat_instance: i64,
pub data: Option<Vec<u8>>,
}Expand description
updateBusinessBotCallbackQuery
Generated from:
updateBusinessBotCallbackQuery#1ea2fda7 flags:# query_id:long user_id:long connection_id:string message:Message reply_to_message:flags.2?Message chat_instance:long data:flags.0?bytes = UpdateFields§
§query_id: i64§user_id: i64§connection_id: String§message: Message§reply_to_message: Option<Message>§chat_instance: i64§data: Option<Vec<u8>>Trait Implementations§
Source§impl Clone for UpdateBusinessBotCallbackQuery
impl Clone for UpdateBusinessBotCallbackQuery
Source§fn clone(&self) -> UpdateBusinessBotCallbackQuery
fn clone(&self) -> UpdateBusinessBotCallbackQuery
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 Deserializable for UpdateBusinessBotCallbackQuery
impl Deserializable for UpdateBusinessBotCallbackQuery
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<UpdateBusinessBotCallbackQuery> for Update
impl From<UpdateBusinessBotCallbackQuery> for Update
Source§fn from(x: UpdateBusinessBotCallbackQuery) -> Self
fn from(x: UpdateBusinessBotCallbackQuery) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBusinessBotCallbackQuery
impl Identifiable for UpdateBusinessBotCallbackQuery
Source§const CONSTRUCTOR_ID: u32 = 0x1ea2fda7
const CONSTRUCTOR_ID: u32 = 0x1ea2fda7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateBusinessBotCallbackQuery
impl PartialEq for UpdateBusinessBotCallbackQuery
Source§fn eq(&self, other: &UpdateBusinessBotCallbackQuery) -> bool
fn eq(&self, other: &UpdateBusinessBotCallbackQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for UpdateBusinessBotCallbackQuery
Auto Trait Implementations§
impl Freeze for UpdateBusinessBotCallbackQuery
impl RefUnwindSafe for UpdateBusinessBotCallbackQuery
impl Send for UpdateBusinessBotCallbackQuery
impl Sync for UpdateBusinessBotCallbackQuery
impl Unpin for UpdateBusinessBotCallbackQuery
impl UnsafeUnpin for UpdateBusinessBotCallbackQuery
impl UnwindSafe for UpdateBusinessBotCallbackQuery
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