Delete Group
To delete a group you need to use thedeleteGroup() method. The user must be an Admin of the group they are trying to delete.
- Dart
deleteGroup() 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.
deleteGroup() method. The user must be an Admin of the group they are trying to delete.
String GUID = "GUID";
CometChat.deleteGroup(GUID, onSuccess: (String message) {
debugPrint("Deleted Group Successfully : $message ");
}, onError: (CometChatException e) {
debugPrint("Delete Group failed with exception: ${e.message}");
});
deleteGroup() method takes the following parameters:
| Parameter | Description |
|---|---|
GUID | The GUID of the group you would like to delete |
Was this page helpful?