copyWith method

SetStoryReaction copyWith({
  1. int? storyPosterChatId,
  2. int? storyId,
  3. ReactionType? reactionType,
  4. bool? updateRecentReactions,
})

Implementation

SetStoryReaction copyWith({
  int? storyPosterChatId,
  int? storyId,
  ReactionType? reactionType,
  bool? updateRecentReactions,
}) => SetStoryReaction(
  storyPosterChatId: storyPosterChatId ?? this.storyPosterChatId,
  storyId: storyId ?? this.storyId,
  reactionType: reactionType ?? this.reactionType,
  updateRecentReactions: updateRecentReactions ?? this.updateRecentReactions,
);