deleteGroup

abstract suspend fun deleteGroup(groupId: String): Group

Deletes an existing group associated with current user id asynchronously.

Return

The deleted group.

Parameters

groupId

The ID of the group to delete.


abstract fun deleteGroup(groupId: String, completionCallback: CompletionCallback<Group>)

Deletes an existing group associated with current user id asynchronously with a completion callback.

Parameters

groupId

The ID of the group to delete.

completionCallback

The callback function to be invoked when the group is deleted.