pub struct KickChatMember { /* private fields */ }
Expand description
Use this method to kick a user from a group or a supergroup. In the case of supergroups, the user will not be able to return to the group on their own using invite links, etc., unless unbanned first. The bot must be an administrator in the group for this to work.
Implementations§
Trait Implementations§
source§impl Clone for KickChatMember
impl Clone for KickChatMember
source§fn clone(&self) -> KickChatMember
fn clone(&self) -> KickChatMember
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 KickChatMember
impl Debug for KickChatMember
source§impl PartialEq<KickChatMember> for KickChatMember
impl PartialEq<KickChatMember> for KickChatMember
source§fn eq(&self, other: &KickChatMember) -> bool
fn eq(&self, other: &KickChatMember) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<KickChatMember> for KickChatMember
impl PartialOrd<KickChatMember> for KickChatMember
source§fn partial_cmp(&self, other: &KickChatMember) -> Option<Ordering>
fn partial_cmp(&self, other: &KickChatMember) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more