ToggleForumTopicIsPinned constructor
const
ToggleForumTopicIsPinned({})
Changes the pinned state of a topic in a forum supergroup chat or a chat with a bot with topics; 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.forumTopicId,
required this.isPinned,
});