Interface RemoveFileFromDownloads

Removes a file from the file download list. Request type for Tdjson#removeFileFromDownloads.

interface RemoveFileFromDownloads {
    @type: "removeFileFromDownloads";
    delete_from_cache?: boolean;
    file_id: number;
}

Properties

@type: "removeFileFromDownloads"
delete_from_cache?: boolean

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

file_id: number

Identifier of the downloaded file.