pub struct UnpinAllForumTopicMessages {
pub chat_id: Recipient,
pub message_thread_id: i32,
}
Expand description
Use this method to clear the list of pinned messages in a forum topic. The bot must be an administrator in the chat for this to work and must have the can_pin_messages administrator right in the supergroup. Returns True on success.
Fields§
§chat_id: Recipient
Unique identifier for the target chat or username of the target channel (in the format @channelusername
)
message_thread_id: i32
Unique identifier for the target message thread of the forum topic
Implementations§
Trait Implementations§
source§impl Clone for UnpinAllForumTopicMessages
impl Clone for UnpinAllForumTopicMessages
source§impl Debug for UnpinAllForumTopicMessages
impl Debug for UnpinAllForumTopicMessages
source§impl Hash for UnpinAllForumTopicMessages
impl Hash for UnpinAllForumTopicMessages
source§impl PartialEq<UnpinAllForumTopicMessages> for UnpinAllForumTopicMessages
impl PartialEq<UnpinAllForumTopicMessages> for UnpinAllForumTopicMessages
source§fn eq(&self, other: &UnpinAllForumTopicMessages) -> bool
fn eq(&self, other: &UnpinAllForumTopicMessages) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Payload for UnpinAllForumTopicMessages
impl Payload for UnpinAllForumTopicMessages
source§fn timeout_hint(&self) -> Option<Duration>
fn timeout_hint(&self) -> Option<Duration>
If this payload may take long time to execute (e.g.
GetUpdates
with
big timeout
), the minimum timeout that should be used.impl Eq for UnpinAllForumTopicMessages
impl StructuralEq for UnpinAllForumTopicMessages
impl StructuralPartialEq for UnpinAllForumTopicMessages
Auto Trait Implementations§
impl RefUnwindSafe for UnpinAllForumTopicMessages
impl Send for UnpinAllForumTopicMessages
impl Sync for UnpinAllForumTopicMessages
impl Unpin for UnpinAllForumTopicMessages
impl UnwindSafe for UnpinAllForumTopicMessages
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.