resend Message
Resends a failed user message.
Return
Temporary UserMessage
instance with request ID.
Since
3.0.121
Parameters
user Message
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
file Message
Failed fileMessage.
file
File to resend. If there is a file url in fileMessage, this will be ignored.
handler
Callback handler.
fun resendMessage(fileMessage: FileMessage, file: File?, handler: FileMessageWithProgressHandler?): FileMessage?
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
file Message
Failed file message.
file
File to resend. If there is a file url in fileMessage, this will be ignored.
handler
Callback handler.