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.


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

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.


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.