TDLib v0.0.1 TDLib.Method.CancelDownloadFile View Source

Stops the downloading of a file. If a file has already been downloaded, does nothing. Returns object_ptr.

NameTypeDescription
file_idnumberIdentifier of a file to stop downloading.

More details on telegram’s documentation.