copyWith method
Implementation
ForwardMessages copyWith({
int? chatId,
int? fromChatId,
List<int>? messageIds,
MessageSendOptions? options,
bool? sendCopy,
bool? removeCaption,
bool? onlyPreview,
}) => ForwardMessages(
chatId: chatId ?? this.chatId,
fromChatId: fromChatId ?? this.fromChatId,
messageIds: messageIds ?? this.messageIds,
options: options ?? this.options,
sendCopy: sendCopy ?? this.sendCopy,
removeCaption: removeCaption ?? this.removeCaption,
onlyPreview: onlyPreview ?? this.onlyPreview,
);