Story constructor
const
Story({
- required int id,
- required int senderChatId,
- MessageSender? senderId,
- required int date,
- required bool isBeingSent,
- required bool isBeingEdited,
- required bool isEdited,
- required bool isPinned,
- required bool isVisibleOnlyForSelf,
- required bool canBeDeleted,
- required bool canBeEdited,
- required bool canBeForwarded,
- required bool canBeReplied,
- required bool canToggleIsPinned,
- required bool canGetStatistics,
- required bool canGetInteractions,
- required bool hasExpiredViewers,
- StoryRepostInfo? repostInfo,
- StoryInteractionInfo? interactionInfo,
- ReactionType? chosenReactionType,
- required StoryPrivacySettings privacySettings,
- required StoryContent content,
- required List<
StoryArea> areas, - required FormattedText caption,
- dynamic extra,
- int? clientId,
Represents a story
Implementation
const Story({
required this.id,
required this.senderChatId,
this.senderId,
required this.date,
required this.isBeingSent,
required this.isBeingEdited,
required this.isEdited,
required this.isPinned,
required this.isVisibleOnlyForSelf,
required this.canBeDeleted,
required this.canBeEdited,
required this.canBeForwarded,
required this.canBeReplied,
required this.canToggleIsPinned,
required this.canGetStatistics,
required this.canGetInteractions,
required this.hasExpiredViewers,
this.repostInfo,
this.interactionInfo,
this.chosenReactionType,
required this.privacySettings,
required this.content,
required this.areas,
required this.caption,
this.extra,
this.clientId,
});