new Presence()
Represents a presence of a User.
Used in user model and can be received from Wildix.Models.User.
Used in user model and can be received from Wildix.Models.User.
Properties:
Name | Type | Description |
---|---|---|
type |
string | Type status
|
show |
string | Main status
|
status |
string | Status message. |
deviceShow |
string | Device state
|
until |
string | Expire date - a date when this presence are valid. |
Example
user.get('presence').get(property)