pub struct UpdateForumTopic {
pub chat_id: i64,
pub forum_topic_id: i32,
pub is_pinned: bool,
pub last_read_inbox_message_id: i64,
pub last_read_outbox_message_id: i64,
pub unread_mention_count: i32,
pub unread_reaction_count: i32,
pub notification_settings: ChatNotificationSettings,
pub draft_message: Option<DraftMessage>,
}Expand description
Information about a topic in a forum chat was changed
Fields§
§chat_id: i64Chat identifier
forum_topic_id: i32Forum topic identifier of the topic
is_pinned: boolTrue, if the topic is pinned in the topic list
last_read_inbox_message_id: i64Identifier of the last read incoming message
last_read_outbox_message_id: i64Identifier of the last read outgoing message
unread_mention_count: i32Number of unread messages with a mention/reply in the topic
unread_reaction_count: i32Number of messages with unread reactions in the topic
notification_settings: ChatNotificationSettingsNotification settings for the topic
draft_message: Option<DraftMessage>A draft of a message in the topic; may be null if none
Trait Implementations§
Source§impl Clone for UpdateForumTopic
impl Clone for UpdateForumTopic
Source§fn clone(&self) -> UpdateForumTopic
fn clone(&self) -> UpdateForumTopic
Returns a duplicate 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 UpdateForumTopic
impl Debug for UpdateForumTopic
Source§impl<'de> Deserialize<'de> for UpdateForumTopic
impl<'de> Deserialize<'de> for UpdateForumTopic
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UpdateForumTopic
impl PartialEq for UpdateForumTopic
Source§impl Serialize for UpdateForumTopic
impl Serialize for UpdateForumTopic
impl StructuralPartialEq for UpdateForumTopic
Auto Trait Implementations§
impl Freeze for UpdateForumTopic
impl RefUnwindSafe for UpdateForumTopic
impl Send for UpdateForumTopic
impl Sync for UpdateForumTopic
impl Unpin for UpdateForumTopic
impl UnsafeUnpin for UpdateForumTopic
impl UnwindSafe for UpdateForumTopic
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more