add User To Group
Adds a user to a group associated with current user id asynchronously.
Return
The updated group.
Parameters
group Code
The group code for the group.
user Id
The ID of the user to add.
user Role
The role of the user.
abstract fun addUserToGroup(groupCode: String, userId: String, userRole: String, completionCallback: CompletionCallback<Group>)
Adds a user to a group associated with current user id asynchronously with a completion callback.
Parameters
group Code
The group code for the group.
user Id
The ID of the user to add.
user Role
The role of the user.
completion Callback
The callback function to be invoked when the group is updated.