copyWith method

MessageReplyToMessage copyWith({
  1. int? chatId,
  2. int? messageId,
  3. TextQuote? quote,
  4. int? checklistTaskId,
  5. String? pollOptionId,
  6. MessageOrigin? origin,
  7. int? originSendDate,
  8. MessageContent? content,
})

Implementation

MessageReplyToMessage copyWith({
  int? chatId,
  int? messageId,
  TextQuote? quote,
  int? checklistTaskId,
  String? pollOptionId,
  MessageOrigin? origin,
  int? originSendDate,
  MessageContent? content,
}) => MessageReplyToMessage(
  chatId: chatId ?? this.chatId,
  messageId: messageId ?? this.messageId,
  quote: quote ?? this.quote,
  checklistTaskId: checklistTaskId ?? this.checklistTaskId,
  pollOptionId: pollOptionId ?? this.pollOptionId,
  origin: origin ?? this.origin,
  originSendDate: originSendDate ?? this.originSendDate,
  content: content ?? this.content,
);