Options
Menu

Class UserAddedChatHistoryEntry

Represents a user being added this chat. Analogous to a UserAddedEvent.

Hierarchy

Index

Properties

Object literals

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

The unique sequential ID of this event

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

StaticTYPE

TYPE: string = ChatHistoryEntry.TYPES.USER_ADDED

Object literals

StaticTYPES

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"