pub struct GenerateChatInviteLink {
pub chat_id: i64,
}
Expand description
Generates a new invite link for a chat; the previously generated link is revoked. Available for basic groups, supergroups, and channels. In basic groups this can be called only by the group’s creator; in supergroups and channels this requires appropriate administrator rights
Fields§
§chat_id: i64
Chat identifier
Trait Implementations§
Source§impl Clone for GenerateChatInviteLink
impl Clone for GenerateChatInviteLink
Source§fn clone(&self) -> GenerateChatInviteLink
fn clone(&self) -> GenerateChatInviteLink
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 GenerateChatInviteLink
impl Debug for GenerateChatInviteLink
Source§impl<'de> Deserialize<'de> for GenerateChatInviteLink
impl<'de> Deserialize<'de> for GenerateChatInviteLink
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 GenerateChatInviteLink
impl Method for GenerateChatInviteLink
Auto Trait Implementations§
impl Freeze for GenerateChatInviteLink
impl RefUnwindSafe for GenerateChatInviteLink
impl Send for GenerateChatInviteLink
impl Sync for GenerateChatInviteLink
impl Unpin for GenerateChatInviteLink
impl UnwindSafe for GenerateChatInviteLink
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