Struct rtdlib::types::ReplacePrimaryChatInviteLink [−][src]
pub struct ReplacePrimaryChatInviteLink { /* fields omitted */ }
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
Performs the conversion.
Returns the “default value” for a type. Read more
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 Send for ReplacePrimaryChatInviteLink
impl Sync for ReplacePrimaryChatInviteLink
impl Unpin for ReplacePrimaryChatInviteLink
impl UnwindSafe for ReplacePrimaryChatInviteLink
Blanket Implementations
Mutably borrows from an owned value. Read more