ToggleStoryIsPostedToChatPage constructor

const ToggleStoryIsPostedToChatPage({
  1. required int storyPosterChatId,
  2. required int storyId,
  3. required bool isPostedToChatPage,
})

Toggles whether a story is accessible after expiration. Can be called only if story.can_toggle_is_posted_to_chat_page == true

Implementation

const ToggleStoryIsPostedToChatPage({
  required this.storyPosterChatId,
  required this.storyId,
  required this.isPostedToChatPage,
});