Options
Menu

Class TopicChangedChatHistoryEntry

Represents a chat's topic being changed. Analogous to a ChatTopicChangedEvent.

Hierarchy

Index

Properties

Object literals

Properties

chatId

chatId: string

The ID of the chat on which this event occurred

eventNumber

eventNumber: number

The unique sequential ID of this event

timestamp

timestamp: Date

The timestamp at which this event occurred

topic

topic: string

The new topic for the chat.

type

type: string

The type of event. One of Types

user

The user that initiated this event

TYPE

TYPE: string = ChatHistoryEntry.TYPES.TOPIC_CHANGED

Object literals

TYPES

TYPES: object

CREATED

CREATED: string = "created"

MESSAGE

MESSAGE: string = "message"

NAME_CHANGED

NAME_CHANGED: string = "name_changed"

TOPIC_CHANGED

TOPIC_CHANGED: string = "topic_changed"

USER_ADDED

USER_ADDED: string = "user_added"

USER_JOINED

USER_JOINED: string = "user_joined"

USER_LEFT

USER_LEFT: string = "user_left"

USER_REMOVED

USER_REMOVED: string = "user_removed"