OptimizeStorage constructor

OptimizeStorage(
  1. {int size,
  2. int ttl,
  3. int count,
  4. int immunityDelay,
  5. List<FileType> fileTypes,
  6. List<int> chatIds,
  7. List<int> excludeChatIds,
  8. bool returnDeletedFileStatistics,
  9. int chatLimit}
)

Optimizes storage usage, i.e. deletes some files and returns new storage usage statistics. Secret thumbnails can't be deleted

Implementation

OptimizeStorage(
    {this.size,
    this.ttl,
    this.count,
    this.immunityDelay,
    this.fileTypes,
    this.chatIds,
    this.excludeChatIds,
    this.returnDeletedFileStatistics,
    this.chatLimit});