pub struct CreatedChat {
pub chat_id: InlineId,
pub title: Option<String>,
pub parent_chat_id: Option<InlineId>,
pub parent_message_id: Option<InlineId>,
}Expand description
Chat created or opened by the client.
Fields§
§chat_id: InlineIdInline chat ID.
title: Option<String>Display title, when known.
parent_chat_id: Option<InlineId>Parent chat ID for child/reply threads.
parent_message_id: Option<InlineId>Parent message ID for reply-thread chats.
Trait Implementations§
Source§impl Clone for CreatedChat
impl Clone for CreatedChat
Source§fn clone(&self) -> CreatedChat
fn clone(&self) -> CreatedChat
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 CreatedChat
impl Debug for CreatedChat
Source§impl<'de> Deserialize<'de> for CreatedChat
impl<'de> Deserialize<'de> for CreatedChat
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
impl Eq for CreatedChat
Source§impl PartialEq for CreatedChat
impl PartialEq for CreatedChat
Source§impl Serialize for CreatedChat
impl Serialize for CreatedChat
impl StructuralPartialEq for CreatedChat
Auto Trait Implementations§
impl Freeze for CreatedChat
impl RefUnwindSafe for CreatedChat
impl Send for CreatedChat
impl Sync for CreatedChat
impl Unpin for CreatedChat
impl UnsafeUnpin for CreatedChat
impl UnwindSafe for CreatedChat
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