addMember

abstract suspend fun addMember(groupId: GroupId, userId: UserId): Result<Unit>

Adds the given userId to the group with the specified groupId.

Return

a Result indicating the success or failure of the operation.