copyWith method

  1. @override
UpdateMessageUnreadReactions copyWith({
  1. int? chatId,
  2. int? messageId,
  3. List<UnreadReaction>? unreadReactions,
  4. int? unreadReactionCount,
  5. dynamic extra,
  6. int? clientId,
})
override

Implementation

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