copyWith method
AddMessageReaction
copyWith({
- int? chatId,
- int? messageId,
- ReactionType? reactionType,
- bool? isBig,
- bool? updateRecentReactions,
Implementation
AddMessageReaction copyWith({
int? chatId,
int? messageId,
ReactionType? reactionType,
bool? isBig,
bool? updateRecentReactions,
}) =>
AddMessageReaction(
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
reactionType: reactionType ?? this.reactionType,
isBig: isBig ?? this.isBig,
updateRecentReactions:
updateRecentReactions ?? this.updateRecentReactions,
);