Struct rust_tdlib::types::ReplacePrimaryChatInviteLink
source · pub struct ReplacePrimaryChatInviteLink { /* private fields */ }
Expand description
Replaces current primary invite link for a chat with a new primary invite link. Available for basic groups, supergroups, and channels. Requires administrator privileges and can_invite_users right
Implementations§
Trait Implementations§
source§impl AsRef<ReplacePrimaryChatInviteLink> for ReplacePrimaryChatInviteLink
impl AsRef<ReplacePrimaryChatInviteLink> for ReplacePrimaryChatInviteLink
source§fn as_ref(&self) -> &ReplacePrimaryChatInviteLink
fn as_ref(&self) -> &ReplacePrimaryChatInviteLink
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for ReplacePrimaryChatInviteLink
impl Clone for ReplacePrimaryChatInviteLink
source§fn clone(&self) -> ReplacePrimaryChatInviteLink
fn clone(&self) -> ReplacePrimaryChatInviteLink
Returns a copy 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 ReplacePrimaryChatInviteLink
impl Debug for ReplacePrimaryChatInviteLink
source§impl Default for ReplacePrimaryChatInviteLink
impl Default for ReplacePrimaryChatInviteLink
source§fn default() -> ReplacePrimaryChatInviteLink
fn default() -> ReplacePrimaryChatInviteLink
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ReplacePrimaryChatInviteLink
impl<'de> Deserialize<'de> for ReplacePrimaryChatInviteLink
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