CreateForumTopic constructor

const CreateForumTopic({
  1. required int chatId,
  2. required String name,
  3. required bool isNameImplicit,
  4. required ForumTopicIcon icon,
})

Creates a topic in a forum supergroup chat or a chat with a bot with topics; requires can_manage_topics administrator or can_create_topics member right in the supergroup

Implementation

const CreateForumTopic({
  required this.chatId,
  required this.name,
  required this.isNameImplicit,
  required this.icon,
});