export type ChatUser = { tenant_uuid: string; uuid: string; wazo_uuid: string; identity?: string; }; export type ChatMessageResponseRoom = { uuid: string | null | undefined; }; export type ChatMessageDelivery = { type?: string; backend?: string | null; status?: string; }; export type ChatMessageResponse = { alias: string; content: string; created_at: string; tenant_uuid: string; user_uuid: string; uuid: string; wazo_uuid: string; room: ChatMessageResponseRoom | null | undefined; delivery?: ChatMessageDelivery | null; }; export type ChatMessageListResponse = { filtered: number; total: number; items: Array; }; export default class ChatMessage { type: string; uuid: string; content: string; date: Date; alias: string; userUuid: string; roomUuid: string | null | undefined; read: boolean; channelType: string; backend: string | null; deliveryStatus: string | null; static parseMany(plain: ChatMessageListResponse): Array; static parse(plain: ChatMessageResponse): ChatMessage; static newFrom(message: ChatMessage): any; constructor({ uuid, date, content, userUuid, alias, roomUuid, read, channelType, backend, deliveryStatus, }?: Record); is(other: ChatMessage): boolean; isIncoming(userUuid: string): boolean; acknowledge(): this; } //# sourceMappingURL=ChatMessage.d.ts.map