UNPKG

@convergence/convergence

Version:
20 lines (19 loc) 533 B
import { DomainUser } from "../../identity"; export interface ChatHistoryEntryTypes { CREATED: string; MESSAGE: string; USER_JOINED: string; USER_LEFT: string; USER_ADDED: string; USER_REMOVED: string; NAME_CHANGED: string; TOPIC_CHANGED: string; } export declare abstract class ChatHistoryEntry { static readonly TYPES: ChatHistoryEntryTypes; readonly type: string; readonly chatId: string; readonly eventNumber: number; readonly timestamp: Date; readonly user: DomainUser; }