Options
Menu

Class ChatNameChangedEvent

Emitted when a Chat's name changes.

Hierarchy

Implements

Index

Properties

chatId

chatId: string

The ID of the Chat on which this event occurred

chatName

chatName: string

The new name of the chat

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 = ChatNameChangedEvent.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: "name_changed" = "name_changed"