forward Messages
fun forwardMessages( context: Context, conversationId: Int?, messageIds: List<Int>, callback: CompletionCallback?, progressChanged: (attachmentId: Int, progress: Int, total: Int) -> Unit? = null)
Content copied to clipboard
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
message Ids
list of messages to be forwarded.
conversation Id
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
progress Changed
This callback is called once the message has an attachment that will be uploaded.