ToggleForumTopicIsClosed constructor

const ToggleForumTopicIsClosed({
  1. required int chatId,
  2. required int messageThreadId,
  3. required bool isClosed,
})

Toggles whether a topic is closed in a forum supergroup chat; requires can_manage_topics administrator right in the supergroup unless the user is creator of the topic

Implementation

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