pub struct UnbanChatMember { /* private fields */ }
Expand description
Use this method to unban a previously kicked user in a supergroup or channel. The user will not return to the group or channel automatically, but will be able to join via link, etc. The bot must be an administrator in the group for this to work.
Implementations§
Trait Implementations§
source§impl Clone for UnbanChatMember
impl Clone for UnbanChatMember
source§fn clone(&self) -> UnbanChatMember
fn clone(&self) -> UnbanChatMember
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 UnbanChatMember
impl Debug for UnbanChatMember
source§impl PartialEq<UnbanChatMember> for UnbanChatMember
impl PartialEq<UnbanChatMember> for UnbanChatMember
source§fn eq(&self, other: &UnbanChatMember) -> bool
fn eq(&self, other: &UnbanChatMember) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UnbanChatMember> for UnbanChatMember
impl PartialOrd<UnbanChatMember> for UnbanChatMember
source§fn partial_cmp(&self, other: &UnbanChatMember) -> Option<Ordering>
fn partial_cmp(&self, other: &UnbanChatMember) -> 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