Options
Menu

Class UserAddedEvent

Emitted when a new user is added to a particular Chat.

Hierarchy

Implements

Index

Properties

addedUser

addedUser: DomainUser

The user that was added

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 = UserAddedEvent.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

NAME

NAME: "user_added" = "user_added"