pub struct ForumTopic {
pub message_thread_id: i64,
pub name: String,
pub icon_color: u32,
pub icon_custom_emoji_id: Option<String>,
}Expand description
A topic in a Telegram forum supergroup.
Forum topics are the individual discussion threads inside a supergroup
with is_forum = true. Returned by createForumTopic.
Fields§
§message_thread_id: i64Unique identifier of the forum topic thread.
name: StringName of the topic (1–128 characters).
icon_color: u32Color of the topic icon as an RGB integer.
icon_custom_emoji_id: Option<String>Custom emoji identifier used 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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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
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