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.
- JavaScript (Delete User Conversation)
- JavaScript (Delete Group Conversation)
- Typescript (Delete User Conversation)
- Typescript (Delete Group Conversation)
deleteConversation() method takes the following parameters:
| Parameter | Description | Required |
|---|---|---|
| conversationWith | UID of the user or GUID of the group whose conversation you want to delete. | YES |
| conversationType | The type of conversation you want to delete . It can be either user or group. | YES |