copyWith method
MessageReplyToMessage
copyWith({
- int? chatId,
- int? messageId,
- TextQuote? quote,
- int? checklistTaskId,
- String? pollOptionId,
- MessageOrigin? origin,
- int? originSendDate,
- 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,
);