pub struct JoinChat {
    pub chat_id: i64,
}Expand description
Adds current user as a new member to a chat. Private and secret chats can’t be joined using this method
Fields§
§chat_id: i64Chat identifier
Trait Implementations§
Source§impl<'de> Deserialize<'de> for JoinChat
 
impl<'de> Deserialize<'de> for JoinChat
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
Auto Trait Implementations§
impl Freeze for JoinChat
impl RefUnwindSafe for JoinChat
impl Send for JoinChat
impl Sync for JoinChat
impl Unpin for JoinChat
impl UnwindSafe for JoinChat
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