copyWith method
EditBusinessStory
copyWith({
- int? storyPosterChatId,
- int? storyId,
- InputStoryContent? content,
- InputStoryAreas? areas,
- FormattedText? caption,
- StoryPrivacySettings? privacySettings,
Implementation
EditBusinessStory copyWith({
int? storyPosterChatId,
int? storyId,
InputStoryContent? content,
InputStoryAreas? areas,
FormattedText? caption,
StoryPrivacySettings? privacySettings,
}) => EditBusinessStory(
storyPosterChatId: storyPosterChatId ?? this.storyPosterChatId,
storyId: storyId ?? this.storyId,
content: content ?? this.content,
areas: areas ?? this.areas,
caption: caption ?? this.caption,
privacySettings: privacySettings ?? this.privacySettings,
);