pub async fn remove_all_files_from_downloads(
only_active: bool,
only_completed: bool,
delete_from_cache: bool,
client_id: i32,
) -> Result<(), Error>Expand description
Removes all files from the file download list
ยงArguments
only_active- Pass true to remove only active downloads, including pausedonly_completed- Pass true to remove only completed downloadsdelete_from_cache- Pass true to delete the file from the TDLib file cacheclient_id- The client id to send the request to