ToggleForumTopicIsPinned constructor

const ToggleForumTopicIsPinned({
  1. required int chatId,
  2. required int messageThreadId,
  3. required bool isPinned,
})

Changes the pinned state of a forum topic; requires can_manage_topics administrator right in the supergroup. There can be up to getOption("pinned_forum_topic_count_max") pinned forum topics

Implementation

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