Struct tbot::methods::RevokeChatInviteLink
source · pub struct RevokeChatInviteLink<'a> { /* private fields */ }
Expand description
Revokes an invite link for a chat.
Reflects the revokeChatInviteLink
method.
Implementations§
source§impl RevokeChatInviteLink<'_>
impl RevokeChatInviteLink<'_>
sourcepub async fn call(self) -> Result<InviteLink, MethodCall>
pub async fn call(self) -> Result<InviteLink, MethodCall>
Calls the method.
Trait Implementations§
source§impl<'a> Clone for RevokeChatInviteLink<'a>
impl<'a> Clone for RevokeChatInviteLink<'a>
source§fn clone(&self) -> RevokeChatInviteLink<'a>
fn clone(&self) -> RevokeChatInviteLink<'a>
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 more