- Swift
deleteConversation() method takes the following parameters:
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
CometChat.deleteConversation(conversationWith: "cometchat-uid-1", conversationType: .user, onSuccess: { message in
print("Conversation deleted",message)
}, onError: {error in
print("delete Convearstion failed with error: \(error?.errorDescription)")
})
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 |
Was this page helpful?