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