ferrisgram/helpers/forum_topic.rs
1// WARNING: THIS CODE IS AUTOGENERATED.
2// DO NOT EDIT!!!
3
4#![allow(clippy::too_many_arguments, clippy::new_without_default)]
5use crate::types::ForumTopic;
6
7impl ForumTopic {
8 /// This function creates an empty struct for the object ForumTopic.
9 pub fn new(message_thread_id: i64, name: String, icon_color: i64) -> Self {
10 Self {
11 message_thread_id,
12 name,
13 icon_color,
14 icon_custom_emoji_id: None,
15 }
16 }
17}