forward Messages
Call this method to forward messages to anther users and/or groups.
This method create a new conversation if not already exists based on the users, groups and the conversationType parameters...
If the message is going to be send to a single recipient (users = 1), the parameter conversationName is useless (it can be null ), the message will be created in a OneToOne conversation if it is already exist otherwise a new conversation will be created.
In case of One To Many conversation, the parameter conversationName will be ignored
An event IConversationObservable will be delegated when the message is successfully sent or failed.
See also
Parameters
The application context
Message Id list to forward
The list of international phone numbers and/or list of groups that you want to forward messages (example of users format: [group:1,group:2,1234567891,1234567892,1234567893])
Conversation type
Conversation name in case of conversationType is THREAD_TYPE_GROUP type
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 forward messages
Call this method to forward messages to another existing conversation.
This method does not create a new conversation if not exist.
This method does not allow :
- an empty message Id list
- a none existing conversation
See also
Parameters
The application context
Conversation Id.
Message Id list to forward
This callback will be invoked to handle operation result :
- Success : The messages is successfully added to the sending queue.
- Error : a local error occurred when trying to forward messages