pub struct JoinChatByInviteLink {
pub invite_link: String,
}
Expand description
Uses an invite link to add the current user to the chat if possible. The new member will not be added until the chat state has been synchronized with the server
Fields§
§invite_link: String
Invite link to import; should begin with “https://t.me/joinchat/”, “https://telegram.me/joinchat/”, or “https://telegram.dog/joinchat/”
Trait Implementations§
Source§impl Clone for JoinChatByInviteLink
impl Clone for JoinChatByInviteLink
Source§fn clone(&self) -> JoinChatByInviteLink
fn clone(&self) -> JoinChatByInviteLink
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 Debug for JoinChatByInviteLink
impl Debug for JoinChatByInviteLink
Source§impl<'de> Deserialize<'de> for JoinChatByInviteLink
impl<'de> Deserialize<'de> for JoinChatByInviteLink
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
Source§impl Method for JoinChatByInviteLink
impl Method for JoinChatByInviteLink
Auto Trait Implementations§
impl Freeze for JoinChatByInviteLink
impl RefUnwindSafe for JoinChatByInviteLink
impl Send for JoinChatByInviteLink
impl Sync for JoinChatByInviteLink
impl Unpin for JoinChatByInviteLink
impl UnwindSafe for JoinChatByInviteLink
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