Trait CanKickChatMemberForUser

Source
pub trait CanKickChatMemberForUser {
    // Required method
    fn kick_from<O>(&self, other: O) -> KickChatMember
       where O: ToChatRef;
}
Expand description

Kick a user from a group or a supergroup.

Required Methods§

Source

fn kick_from<O>(&self, other: O) -> KickChatMember
where O: ToChatRef,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§