DeleteForumTopic constructor

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

DeleteForumTopic (deleteForumTopic) - TDLib function

Deletes all messages in a forum topic; 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.

  • chatId: Identifier of the chat.
  • messageThreadId: Message thread identifier of the forum topic.

Ok is returned on completion.

Implementation

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