deleteConversation() method.
This method takes two parameters. The unique id (UID/GUID) of the conversation to be deleted & the type (user/group) of conversation to be deleted.
Deleting a conversation needs a connection — with offline support enabled,
deleteConversation() is not queued for later. On success the conversation and its cached messages are removed from the on-device cache. See Send While Offline.- Java (User)
- Java (Group)
- Kotlin (User)
- Kotlin (Group)
deleteConversation() method takes the following parameters: