pub struct ForumTopicInfo {
pub chat_id: i64,
pub forum_topic_id: i32,
pub name: String,
pub icon: ForumTopicIcon,
pub creation_date: i32,
pub creator_id: MessageSender,
pub is_general: bool,
pub is_outgoing: bool,
pub is_closed: bool,
pub is_hidden: bool,
pub is_name_implicit: bool,
}Expand description
Contains basic information about a forum topic
Fields§
§chat_id: i64Identifier of a forum supergroup chat or a chat with a bot to which the topic belongs
forum_topic_id: i32Forum topic identifier of the topic
name: StringName of the topic
icon: ForumTopicIconIcon of the topic
creation_date: i32Point in time (Unix timestamp) when the topic was created
creator_id: MessageSenderIdentifier of the creator of the topic
is_general: boolTrue, if the topic is the General topic
is_outgoing: boolTrue, if the topic was created by the current user
is_closed: boolTrue, if the topic is closed. If the topic is closed, then the user must have can_manage_topics administrator right in the supergroup or must be the creator of the topic to send messages there
True, if the topic is hidden above the topic list and closed; for General topic only
is_name_implicit: boolTrue, if the name of the topic wasn’t added explicitly
Trait Implementations§
Source§impl Clone for ForumTopicInfo
impl Clone for ForumTopicInfo
Source§fn clone(&self) -> ForumTopicInfo
fn clone(&self) -> ForumTopicInfo
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 ForumTopicInfo
impl Debug for ForumTopicInfo
Source§impl<'de> Deserialize<'de> for ForumTopicInfo
impl<'de> Deserialize<'de> for ForumTopicInfo
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 ForumTopicInfo
impl PartialEq for ForumTopicInfo
Source§impl Serialize for ForumTopicInfo
impl Serialize for ForumTopicInfo
impl StructuralPartialEq for ForumTopicInfo
Auto Trait Implementations§
impl Freeze for ForumTopicInfo
impl RefUnwindSafe for ForumTopicInfo
impl Send for ForumTopicInfo
impl Sync for ForumTopicInfo
impl Unpin for ForumTopicInfo
impl UnsafeUnpin for ForumTopicInfo
impl UnwindSafe for ForumTopicInfo
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