copyWith method
UpdateMessageReaction
copyWith({
- int? chatId,
- int? messageId,
- MessageSender? actorId,
- int? date,
- List<
ReactionType> ? oldReactionTypes, - List<
ReactionType> ? newReactionTypes,
Implementation
UpdateMessageReaction copyWith({
int? chatId,
int? messageId,
MessageSender? actorId,
int? date,
List<ReactionType>? oldReactionTypes,
List<ReactionType>? newReactionTypes,
}) => UpdateMessageReaction(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
actorId: actorId ?? this.actorId,
date: date ?? this.date,
oldReactionTypes: oldReactionTypes ?? this.oldReactionTypes,
newReactionTypes: newReactionTypes ?? this.newReactionTypes,
);