Skip to main content

Delete Group

To delete a group you need to use the deleteGroup() method. The user must be an Admin of the group they are trying to delete.
Deleting a group needs a connection — with offline support enabled, deleteGroup() is not queued for later. After it succeeds, the group’s conversation and cached messages are removed from the on-device cache when the group-deleted event arrives or at the next reconnect sync; any messages still queued to it are then reported as failed with reason discarded. See Send While Offline.
The deleteGroup() method takes the following parameters: