pub struct UnpinChatMessage { /* private fields */ }
Expand description
Use this method to unpin a message in a supergroup or a channel. The bot must be an administrator in the chat for this to work and must have the ‘can_pin_messages’ admin right in the supergroup or ‘can_edit_messages’ admin right in the channel.
Trait Implementations§
source§impl Clone for UnpinChatMessage
impl Clone for UnpinChatMessage
source§fn clone(&self) -> UnpinChatMessage
fn clone(&self) -> UnpinChatMessage
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 UnpinChatMessage
impl Debug for UnpinChatMessage
source§impl PartialEq<UnpinChatMessage> for UnpinChatMessage
impl PartialEq<UnpinChatMessage> for UnpinChatMessage
source§fn eq(&self, other: &UnpinChatMessage) -> bool
fn eq(&self, other: &UnpinChatMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<UnpinChatMessage> for UnpinChatMessage
impl PartialOrd<UnpinChatMessage> for UnpinChatMessage
source§fn partial_cmp(&self, other: &UnpinChatMessage) -> Option<Ordering>
fn partial_cmp(&self, other: &UnpinChatMessage) -> 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