Options
Menu

Class ChatTopicChangedEvent

Emitted when a Chat's topic changes.

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

topic

topic: string

The Chat's new topic

user

The user associated wth the event

NAME

NAME: "topic_changed" = "topic_changed"