DeleteForumTopic constructor

const DeleteForumTopic({
  1. required int chatId,
  2. required int forumTopicId,
})

Deletes all messages from a topic in a forum supergroup chat or a chat with a bot with topics; requires can_delete_messages administrator right in the supergroup unless the user is creator of the topic, the topic has no messages from other users and has at most 11 messages

Implementation

const DeleteForumTopic({required this.chatId, required this.forumTopicId});