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