Managing Message
#
Cancel Media UploadUsing the SDK.cancelMediaUpload() method to cancel or pause an in-progress upload that hasn't yet finished. Once the media upload has been successfully cancelled or paused, you will receive a success response.
#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
msgId | Message ID for the Message | String | true |
#
Response Formatcaution
You cannot cancel a media upload once you receive a success or error callback.
#
Resume Media UploadUse below method to resume the media upload.
#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
msgId | Message ID for the Message | String | true |
onResuming | Resuming call back | function | true |
onSuccess | Resuming uploaded success call back | function | true |
onError | Resuming error call back | function | true |
Refer Here to know more about resume media upload success. You are the same success callback response for the Send Media File Message method.
#
Cancel Media DownloadUsing the SDK.cancelMediaDownload() method to cancel or pause an in-progress download that hasn't yet finished. Once the media download has been successfully cancelled or paused, you will receive a success response.
#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
msgId | Message ID for the Message | String | true |
#
Response Formatcaution
You cannot cancel a media download once you receive a success or error callback.
#
Resume Media DownloadUse below method to resume the media download.
#
Request ParamsStatus | Description | Type | Required |
---|---|---|---|
msgId | Message ID for the Message | String | true |
onResuming | Resuming call back | function | true |
onSuccess | Resuming uploaded success call back | function | true |
onError | Resuming error call back | function | true |
Refer Here to know more about resume media download success. You are the same success callback response for the Download Media method.