TDLib v0.0.2 TDLib.Method.CancelUploadFile View Source
Stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.
Returns object_ptr
Name | Type | Description |
---|---|---|
file_id | number | Identifier of the file to stop uploading. |
More details on telegram’s documentation.