createGroup

open suspend override fun createGroup(groupName: String, initialUserRole: String): Group

Creates a new group asynchronously and associate with current user id.

Return

The created group and associate with current user id.

Parameters

groupName

The name of the group to create.

initialUserRole

The initial user role for the group.


open override fun createGroup(groupName: String, initialUserRole: String, completionCallback: CompletionCallback<Group>)

Creates a new group and associate with current user id asynchronously with a completion callback.

Parameters

groupName

The name of the group to create.

initialUserRole

The initial user role for the group.

completionCallback

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