Interface RemoveAllFilesFromDownloads

Removes all files from the file download list. Request type for Tdjson#removeAllFilesFromDownloads.

interface RemoveAllFilesFromDownloads {
    @type: "removeAllFilesFromDownloads";
    delete_from_cache?: boolean;
    only_active?: boolean;
    only_completed?: boolean;
}

Properties

@type: "removeAllFilesFromDownloads"
delete_from_cache?: boolean

Pass true to delete the file from the TDLib file cache.

only_active?: boolean

Pass true to remove only active downloads, including paused.

only_completed?: boolean

Pass true to remove only completed downloads.