Options
Menu

Class UserLeftEvent

Emitted when a DomainUser leaves a Chat.

Hierarchy

Implements

Index

Properties

chatId

chatId: string

The ID of the Chat on which this event occurred

eventNumber

eventNumber: number

This event's unique sequential number. This can be useful when e.g. querying for events on a particular chat (Chat.getHistory).

name

name: string = UserLeftEvent.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.

timestamp

timestamp: Date

The timestamp when the event occurred

user

The user associated wth the event

StaticNAME

NAME: "user_left" = "user_left"