ForumTopic constructor
const
ForumTopic({})
Creates a new ForumTopic object.
Implementation
const factory ForumTopic({
/// Unique identifier of the forum topic
@JsonKey(name: 'message_thread_id') required String messageThreadId,
/// Name of the topic
@JsonKey(name: 'name') required String name,
/// Color of the topic icon in RGB format
@JsonKey(name: 'icon_color') required int iconColor,
/// Optional. Unique identifier of the custom emoji shown as the topic icon
@JsonKey(name: 'icon_custom_emoji_id') String? iconCustomEmojiId,
}) = _ForumTopic;