deleteUserInGroup

abstract suspend fun deleteUserInGroup(groupId: String, userId: String): Group

Deletes a user from a group associated with current user id asynchronously.

Return

The updated group.

Parameters

groupId

The ID of the group.

userId

The ID of the user to delete.


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

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

Parameters

groupId

The ID of the group.

userId

The ID of the user to delete.

completionCallback

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