export interface IChatLogMessageText { text: string; urn: string; width: number; height: number; format: string; } export declare enum ChatLogMessageTargetType { single = "single", group = "group", chatroom = "chatroom" } export declare enum ChatLogMessageType { text = "text", image = "image", custom = "custom" } export declare enum ChatLogMessageFromType { user = "user", admin = "admin" } export interface IMsgack { targetId: string; fromId: string; lastAckMsgid: string; lastAckAt: number; namespace: string; } export interface IMessagesAck { userid: string; unreadNumber: number; lastUnreadMessage: IChatLogMessage; lastAckAt?: number; } export interface IChatLog { messages: IChatLogMessageModel[]; msgacks: IMsgack[]; } export interface IChatLogMessageModel extends IChatLogMessage { isShowLeft: boolean; isSending: boolean; targetType: ChatLogMessageTargetType; msgType: ChatLogMessageType; targetName: string; targetId: string; fromId: string; fromName: string; fromType: ChatLogMessageFromType; msgBody: IChatLogMessageText; createAt: number; clientId: string; version: string; id: string; unread: boolean; namespace: string; } export interface IChatLogMessage { isShowLeft: boolean; isSending: boolean; targetType: ChatLogMessageTargetType; msgType: ChatLogMessageType; fromId: string; fromName: string; fromType: ChatLogMessageFromType; targetName: string; targetId: string; text: string; createAt: number; version: string; id: string; unread: boolean; } export interface IRecentContacts { id: string; userId: string; contactId: string; contactName: string; createAt: number; } export interface IChatLogModel { total: number; cursor: string; count: number; messages: IChatLogMessageModel[]; } //# sourceMappingURL=chat-log.d.ts.map