copyWith method

UpdateMessageUnreadReactions copyWith({
  1. int? chatId,
  2. int? messageId,
  3. List<UnreadReaction>? unreadReactions,
  4. int? unreadReactionCount,
})

Implementation

UpdateMessageUnreadReactions copyWith({
  int? chatId,
  int? messageId,
  List<UnreadReaction>? unreadReactions,
  int? unreadReactionCount,
}) => UpdateMessageUnreadReactions(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  unreadReactions: unreadReactions ?? this.unreadReactions,
  unreadReactionCount: unreadReactionCount ?? this.unreadReactionCount,
);