Struct tg_flows::ForumTopic
source · pub struct ForumTopic {
pub message_thread_id: i32,
pub name: String,
pub icon_color: [u8; 3],
pub icon_custom_emoji_id: Option<String>,
}Expand description
This object represents a forum topic.
Fields§
§message_thread_id: i32Unique identifier of the forum topic
name: StringName of the topic.
icon_color: [u8; 3]Color of the topic icon in RGB format.
icon_custom_emoji_id: Option<String>Unique identifier of the custom emoji shown as the topic icon.
Trait Implementations§
source§impl Clone for ForumTopic
impl Clone for ForumTopic
source§fn clone(&self) -> ForumTopic
fn clone(&self) -> ForumTopic
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 ForumTopic
impl Debug for ForumTopic
source§impl<'de> Deserialize<'de> for ForumTopic
impl<'de> Deserialize<'de> for ForumTopic
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 Hash for ForumTopic
impl Hash for ForumTopic
source§impl PartialEq<ForumTopic> for ForumTopic
impl PartialEq<ForumTopic> for ForumTopic
source§fn eq(&self, other: &ForumTopic) -> bool
fn eq(&self, other: &ForumTopic) -> bool
This method tests for
self and other values to be equal, and is used
by ==.