cancelDownloadFile¶ Function · TDLib 1.8.67 · d1085f9c Stops the downloading of a file. If a file has already been downloaded, does nothing cancelDownloadFile( file_id: int32, only_if_pending: Bool ) → Ok file_id¶ int32 Identifier of a file to stop downloading only_if_pending¶ Bool Pass true to stop downloading only if it hasn't been started, i.e. request hasn't been sent to server