addCollaborator
abstract suspend fun addCollaborator(sharedLinkId: String, phoneOrEmail: String, permission: SharedLinkPermission)
Adds a collaborator to a shared link with sharedLinkId.
Throws
The shared link was not found in the database.
AddYourselfException
Trying to add myself as a collaborator.
AlreadyExistException
The collaborator has already been added to the shared link.
CollaboratorsCountExceededException
The number of added collaborators has been exceeded.