Type Definitions
CurrentUser :User
Object that represents the current logged-in Now4real user. It extends the User object with some additional properties.
Properties:
Name | Type | Description |
---|---|---|
consentGiven |
boolean |
Indicates whether the user has accepted Now4real's Terms of Service and Privacy Policy. |
User :object
Object that represents a Now4real user.
Properties:
Name | Type | Attributes | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
id |
string |
The unique identifier of the user. |
|||||||||||||
name |
string |
The name of the user on the social network or on the site in the case of custom authentication. |
|||||||||||||
pic |
string |
The URL of the user profile image on the social network or on the site in case of custom authentication. |
|||||||||||||
provider |
string |
The login provider used for authentication. It can be |
|||||||||||||
role |
string |
<optional> |
The role that the user assumes in the current pagechat, as configured in the Dashboard. It can be |
||||||||||||
badge |
object |
<optional> |
The badge for the user, as configured in the Dashboard. Properties
|