copyWith method
Implementation
AddFileToDownloads copyWith({
int? fileId,
int? chatId,
int? messageId,
int? priority,
}) =>
AddFileToDownloads(
fileId: fileId ?? this.fileId,
chatId: chatId ?? this.chatId,
messageId: messageId ?? this.messageId,
priority: priority ?? this.priority,
);