copyWith method

AddMessageReaction copyWith({
  1. int? chatId,
  2. int? messageId,
  3. ReactionType? reactionType,
  4. bool? isBig,
  5. 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,
    );