Skip to content

deleteFile

Sahri Riza Umami edited this page Jun 23, 2018 · 5 revisions

Deletes a file from TDLib file cache.

deleteFile(file_id, callback, data)
Field Type Description
file_id int32 Identifier of the file to delete

Example

  • Deletes file 17 from TDLib file cache.

    deleteFile(17)

    Response:

    {
      ["@type"] = "ok"
    }

Frequently Asked Questions
The Functions

Clone this wiki locally