ToggleSavedMessagesTopicIsPinned constructor
const
ToggleSavedMessagesTopicIsPinned({})
Changes the pinned state of a Saved Messages topic. There can be up to getOption("pinned_saved_messages_topic_count_max") pinned topics. The limit can be increased with Telegram Premium
Implementation
const ToggleSavedMessagesTopicIsPinned({
required this.savedMessagesTopicId,
required this.isPinned,
});