Story constructor

Story(
  1. {required int id,
  2. required int sender_chat_id,
  3. required int date,
  4. required bool is_being_sent,
  5. required bool is_being_edited,
  6. required bool is_edited,
  7. required bool is_pinned,
  8. required bool is_visible_only_for_self,
  9. required bool can_be_deleted,
  10. required bool can_be_edited,
  11. required bool can_be_forwarded,
  12. required bool can_be_replied,
  13. required bool can_toggle_is_pinned,
  14. required bool can_get_viewers,
  15. required bool has_expired_viewers,
  16. StoryInteractionInfo? interaction_info,
  17. ReactionType? chosen_reaction_type,
  18. required StoryPrivacySettings privacy_settings,
  19. required StoryContent content,
  20. required List<StoryArea> areas,
  21. required FormattedText caption,
  22. int? extra,
  23. int? clientId}
)

Represents a story

Implementation

Story