[][src]Trait telegram_bot::prelude::CanLeaveChat

pub trait CanLeaveChat {
    pub fn leave(&self) -> LeaveChat;
}

Leave a group, supergroup or channel.

Required methods

pub fn leave(&self) -> LeaveChat[src]

Loading content...

Implementors

impl<C> CanLeaveChat for C where
    C: ToChatRef
[src]

Loading content...