forwardMessages

fun forwardMessages(    context: Context,     conversationId: Int?,     messageIds: List<Int>,     callback: CompletionCallback?,     progressChanged: (attachmentId: Int, progress: Int, total: Int) -> Unit? = null)

Call this method to forward messages to another existing conversation.

This method does not allow :

  • an empty message Id list
  • a none existing conversation

See also

Parameters

context

The application context

messageIds

list of messages to be forwarded.

conversationId

The identifier of the current conversation.

callback

: (CompletionCallback) This callback will be invoked to handle operation result : Success : The message is successfully added to the sending queue. Error : a local error occurred when trying to send message

progressChanged

This callback is called once the message has an attachment that will be uploaded.