Options
Menu

Class NameChangedChatHistoryEntry

Represents a chat's name being changed. Analogous to a ChatNameChangedEvent.

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

name

name: string

The new name for the chat.

timestamp

timestamp: Date

The timestamp at which this event occurred

type

type: string

The type of event. One of Types

user

The user that initiated this event

TYPE

TYPE: string = ChatHistoryEntry.TYPES.NAME_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"