close Conversation
Content copied to clipboard
Call this method to close an existing group conversation.
The given conversation should be a group conversation(THREAD_TYPE_GROUP).
The conversation should be active and not closed.
The conversation support GroupAdmin.
The user should be an admin .
Note : If there is a VoIP session linked to the given conversation, it will be automatically stopped
An event IConversationObservable will be delegated when the close request is successfully done or failed.
See also
Parameters
context
The application context
conversation Id
Conversation ID.
callback
This callback will be invoked to handle operation result :
- Success : The group conversation is successfully closed
- Error : an error occurred when trying to close group conversation