pub struct UpdateBotGuestChatQuery {
pub query_id: i64,
pub message: Message,
pub reference_messages: Option<Vec<Message>>,
pub qts: i32,
}Expand description
Generated from:
updateBotGuestChatQuery#cdd4093d flags:# query_id:long message:Message reference_messages:flags.0?Vector<Message> qts:int = UpdateFields§
§query_id: i64§message: Message§reference_messages: Option<Vec<Message>>§qts: i32Trait Implementations§
Source§impl Clone for UpdateBotGuestChatQuery
impl Clone for UpdateBotGuestChatQuery
Source§fn clone(&self) -> UpdateBotGuestChatQuery
fn clone(&self) -> UpdateBotGuestChatQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 UpdateBotGuestChatQuery
impl Debug for UpdateBotGuestChatQuery
Source§impl Deserializable for UpdateBotGuestChatQuery
impl Deserializable for UpdateBotGuestChatQuery
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<UpdateBotGuestChatQuery> for Update
impl From<UpdateBotGuestChatQuery> for Update
Source§fn from(x: UpdateBotGuestChatQuery) -> Self
fn from(x: UpdateBotGuestChatQuery) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotGuestChatQuery
impl Identifiable for UpdateBotGuestChatQuery
Source§const CONSTRUCTOR_ID: u32 = 0xcdd4093d
const CONSTRUCTOR_ID: u32 = 0xcdd4093d
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateBotGuestChatQuery
impl PartialEq for UpdateBotGuestChatQuery
Source§fn eq(&self, other: &UpdateBotGuestChatQuery) -> bool
fn eq(&self, other: &UpdateBotGuestChatQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl TryFrom<Update> for UpdateBotGuestChatQuery
impl TryFrom<Update> for UpdateBotGuestChatQuery
impl StructuralPartialEq for UpdateBotGuestChatQuery
Auto Trait Implementations§
impl Freeze for UpdateBotGuestChatQuery
impl RefUnwindSafe for UpdateBotGuestChatQuery
impl Send for UpdateBotGuestChatQuery
impl Sync for UpdateBotGuestChatQuery
impl Unpin for UpdateBotGuestChatQuery
impl UnsafeUnpin for UpdateBotGuestChatQuery
impl UnwindSafe for UpdateBotGuestChatQuery
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