1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use serde::Deserialize;

/// This object represents a forum topic.
/// # Documentation
/// <https://core.telegram.org/bots/api#forumtopic>
#[derive(Clone, Debug, Eq, Hash, PartialEq, Deserialize)]
pub struct ForumTopic {
    /// Unique identifier of the forum topic
    pub message_thread_id: i64,
    /// Name of the topic
    pub name: String,
    /// Color of the topic icon in RGB format
    pub icon_color: String,
    /// Unique identifier of the custom emoji shown as the topic icon
    pub icon_custom_emoji_id: Option<String>,
}