PresenceUser Class Properties

PropertyTypeOptionalDescription
userIdStringNoUnique user identifier
nameStringYesUser’s full name (Default: Random avatar name)
emailStringYesUser’s email address
photoUrlStringYesUser’s display picture URL (Default: Random avatar image)
onlineStatusStringNoOnline status (active, inactive, offline) (Auto generated)
colorStringYesAssigned color for the user (Auto generated)
timestampAnyNoServer Timestamp
typeStringYesUser type
selectionsAnyYesUser selections
documentParamsIdNumber, nullYesDeprecated unique document params ID
documentParamsObject, nullYesDeprecated document params
locationIdNumber, nullYesUnique location ID
locationLocation, nullYesLocation of user on sub document
isReadOnlyBooleanYesIndicates if user is readonly
isAnonymousBooleanYesIf user can only view comments (Anonymous)
pageInfoPageInfoNoInformation about the page