libtd-ktx / kotlinx.telegram.extensions / FileKtx / cancelUpload
cancelUpload
open suspend fun
File
.cancelUpload():
Unit
Suspend function, which stops the uploading of a file. Supported only for files uploaded by using uploadFile. For other files the behavior is undefined.