Skip to content

Presence

Presence ⇐ Base

Represents the presence of a user.

Kind: global class
Extends: Base
Properties

NameTypeDescription
partialbooleanWhether the presence is partial or not.
userUserThe user associated with the presence.
statusstring | nullThe status of the user.
activitiesArray.<Activity>The activities of the user.
clientStatusObject | nullThe client status of the user.

new Presence([data], client)

Constructs a new instance of the class.

ParamTypeDescription
[data]ObjectThe data object containing presence information.
clientClientThe client instance.