Skip to content

cancelUploadFile

Sahri Riza Umami edited this page Jun 22, 2018 · 4 revisions

Stops the uploading of a file.
Supported only for files uploaded by using uploadFile.
For other files the behavior is undefined.

cancelUploadFile(file_id, callback, data)
Field Type Description
file_id int32 Identifier of the file to stop uploading.

Example

  • Cancel uploading file 234.

    cancelUploadFile(234)

    Response:

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

Frequently Asked Questions
The Functions

Clone this wiki locally