Chat SDKs iOS v4
Chat SDKs iOS
Chat SDKs
iOS
Version 4
Cancel an in-progress file upload
Copy link
Using the cancelUploadingFileMessage(requestId:completionHandler:)
method, you can cancel an in-progress file upload while it hasn't been completed yet. If the function operates successfully, the value of true
is returned to completionHandler:
.
Note: If you attempt to cancel the upload after it has already been completed or canceled, or the attempt results in an error, the function returns the value of
false
.