pub trait CanKickChatMemberForChat {
// Required method
fn kick<O>(&self, other: O) -> KickChatMember
where O: ToUserId;
}Expand description
Kick a user from a group or a supergroup.
Required Methods§
fn kick<O>(&self, other: O) -> KickChatMemberwhere
O: ToUserId,
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.