ToggleStoryIsPinned constructor

const ToggleStoryIsPinned({
  1. required int storySenderChatId,
  2. required int storyId,
  3. required bool isPinned,
})

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

Implementation

const ToggleStoryIsPinned({
  required this.storySenderChatId,
  required this.storyId,
  required this.isPinned,
});