ToggleChatViewAsTopics constructor

const ToggleChatViewAsTopics({
  1. required int chatId,
  2. required bool viewAsTopics,
})

Changes the view_as_topics setting of a forum chat or Saved Messages

Implementation

const ToggleChatViewAsTopics({
  required this.chatId,
  required this.viewAsTopics,
});