copyWith method
Implementation
OptimizeStorage copyWith({
int? size,
int? ttl,
int? count,
int? immunityDelay,
List<FileType>? fileTypes,
List<int>? chatIds,
List<int>? excludeChatIds,
bool? returnDeletedFileStatistics,
int? chatLimit,
}) => OptimizeStorage(
size: size ?? this.size,
ttl: ttl ?? this.ttl,
count: count ?? this.count,
immunityDelay: immunityDelay ?? this.immunityDelay,
fileTypes: fileTypes ?? this.fileTypes,
chatIds: chatIds ?? this.chatIds,
excludeChatIds: excludeChatIds ?? this.excludeChatIds,
returnDeletedFileStatistics: returnDeletedFileStatistics ?? this.returnDeletedFileStatistics,
chatLimit: chatLimit ?? this.chatLimit,
);