Presence
Presence ⇐ Base
Section titled “Presence ⇐ Base”Represents the presence of a user.
Kind: global class
Extends: Base
Properties
| Name | Type | Description |
|---|---|---|
| partial | boolean | Whether the presence is partial or not. |
| user | User | The user associated with the presence. |
| status | string | null | The status of the user. |
| activities | Array.<Activity> | The activities of the user. |
| clientStatus | Object | null | The client status of the user. |
new Presence([data], client)
Section titled “new Presence([data], client)”Constructs a new instance of the class.
| Param | Type | Description |
|---|---|---|
| [data] | Object | The data object containing presence information. |
| client | Client | The client instance. |