updateGroup

abstract suspend fun updateGroup(groupId: String, name: String): Group

Updates an existing group associated with current user id asynchronously.

Return

The updated group.

Parameters

groupId

The ID of the group to update.

name

The new name for the group.


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

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

Parameters

groupId

The ID of the group to update.

name

The new name for the group.

completionCallback

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