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.

NameTypeDescription
file_idnumberIdentifier of the file to stop uploading.

More details on telegram’s documentation.