Skip to content

cancel upload

Alexey Kravtsov edited this page May 19, 2020 · 1 revision

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.

Clone this wiki locally