pub struct ForumTopic {
pub message_thread_id: i64,
pub name: String,
pub icon_color: i64,
pub icon_custom_emoji_id: Option<String>,
}Expand description
This object represents a forum topic. https://core.telegram.org/bots/api#forumtopic
Fields§
§message_thread_id: i64Unique identifier of the forum topic
name: StringName of the topic
icon_color: i64Color of the topic icon in RGB format
icon_custom_emoji_id: Option<String>Optional. Unique identifier of the custom emoji shown as the topic icon
Implementations§
Trait Implementations§
Source§impl Clone for ForumTopic
impl Clone for ForumTopic
Source§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
Auto Trait Implementations§
impl Freeze for ForumTopic
impl RefUnwindSafe for ForumTopic
impl Send for ForumTopic
impl Sync for ForumTopic
impl Unpin for ForumTopic
impl UnsafeUnpin for ForumTopic
impl UnwindSafe for ForumTopic
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