copyWith method

EditStory copyWith({
  1. int? storyPosterChatId,
  2. int? storyId,
  3. InputStoryContent? content,
  4. InputStoryAreas? areas,
  5. FormattedText? caption,
})

Implementation

EditStory copyWith({
  int? storyPosterChatId,
  int? storyId,
  InputStoryContent? content,
  InputStoryAreas? areas,
  FormattedText? caption,
}) =>
    EditStory(
      storyPosterChatId: storyPosterChatId ?? this.storyPosterChatId,
      storyId: storyId ?? this.storyId,
      content: content ?? this.content,
      areas: areas ?? this.areas,
      caption: caption ?? this.caption,
    );