copyWith method

EditBusinessStory copyWith({
  1. int? storyPosterChatId,
  2. int? storyId,
  3. InputStoryContent? content,
  4. InputStoryAreas? areas,
  5. FormattedText? caption,
  6. 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,
);