Single or Multiple Message Deletion
Delete Single/Multiple Recent Chat#
To delete a recent chat of a user or a group, call the below method.
- Java
- Kotlin
We can delete a archived recent chat using this method too.
| Argument | Type | Description |
|---|---|---|
| JID_LIST | List<String> | List of chat jid whose conversations to be deleted |
| CALLBACK | ChatActionListener | callback to observe the action status |
caution
Deleting a recent chat will delete the all the conversation for that user/group including favorite messages.
If delete chat feature unavailable for your plan then it will throw 403 exception.