SendStory constructor

const SendStory({
  1. required int chatId,
  2. required InputStoryContent content,
  3. InputStoryAreas? areas,
  4. FormattedText? caption,
  5. required StoryPrivacySettings privacySettings,
  6. required int activePeriod,
  7. required StoryFullId fromStoryFullId,
  8. required bool isPinned,
  9. required bool protectContent,
})

Sends a new story to a chat; requires can_post_stories right for supergroup and channel chats. Returns a temporary story

Implementation

const SendStory({
  required this.chatId,
  required this.content,
  this.areas,
  this.caption,
  required this.privacySettings,
  required this.activePeriod,
  required this.fromStoryFullId,
  required this.isPinned,
  required this.protectContent,
});