Options
Menu

Class PresenceStateSetEvent

Emitted when one or more items of a particular DomainUser's presence state were set.

Hierarchy

  • PresenceStateSetEvent

Implements

Index

Constructors

Properties

Constructors

constructor

Properties

name

name: string = PresenceStateSetEvent.NAME

The name of the event that was fired. This is commonly used to filter when using the ConvergenceEventEmitter.events stream.

Note that the name is only guaranteed to be unique within the class / subsystem that is firing it. Names might be reused across classes and subsystems.

state

state: Map<string, any>

The entire new state (as opposed to only the items that changed) for the user.

user

The user associated with the presence event.

StaticNAME

NAME: "state_set" = "state_set"