copyWith method

UpdateMessageReactions copyWith({
  1. int? chatId,
  2. int? messageId,
  3. int? date,
  4. List<MessageReaction>? reactions,
})

Implementation

UpdateMessageReactions copyWith({
  int? chatId,
  int? messageId,
  int? date,
  List<MessageReaction>? reactions,
}) =>
    UpdateMessageReactions(
      chatId: chatId ?? this.chatId,
      messageId: messageId ?? this.messageId,
      date: date ?? this.date,
      reactions: reactions ?? this.reactions,
    );