resendMessage

Resends a failed user message.

Return

Temporary UserMessage instance with request ID.

Since

3.0.121

Parameters

userMessage

Failed user message.

handler

Callback handler.


Resends a file message. File information is used from the failed message.

Return

Temporary FileMessage instance with request ID.

Since

4.16.4

Parameters

fileMessage

Failed fileMessage.

handler

Callback handler.


Resends a file message. File information is used from the failed message.

Return

Temporary FileMessage instance with request ID.

Since

4.16.4

Parameters

fileMessage

Failed file message.

handler

Callback handler.


fun resendMessage(fileMessage: FileMessage, file: File?, handler: FileMessageHandler?): FileMessage?

Deprecated

`file` parameter is not needed as the SDK keeps the original file object set when the file message was sent

Replace with

resendMessage(fileMessage, handler)

Resends a file with given file information.

Return

Temporary FileMessage instance with request ID.

Since

3.0.121

Parameters

fileMessage

Failed fileMessage.

file

File to resend. If there is a file url in fileMessage, this will be ignored.

handler

Callback handler.


Deprecated

`file` parameter is not needed as the SDK keeps the original file object set when the file message was sent

Replace with

resendMessage(fileMessage, handler)

Resends a file with given file information and gets callback for uploading progress.

Return

Temporary FileMessage instance with request ID.

Since

3.0.121

Parameters

fileMessage

Failed file message.

file

File to resend. If there is a file url in fileMessage, this will be ignored.

handler

Callback handler.