remove_file_from_downloads

Function remove_file_from_downloads 

Source
pub async fn remove_file_from_downloads(
    file_id: i32,
    delete_from_cache: bool,
    client_id: i32,
) -> Result<(), Error>
Expand description

Removes a file from the file download list

ยงArguments

  • file_id - Identifier of the downloaded file
  • delete_from_cache - Pass true to delete the file from the TDLib file cache
  • client_id - The client id to send the request to