@hatang/sdk
    Preparing search index...

    Interface ChatMessage

    interface ChatMessage {
        attachments: ChatAttachment[];
        content: string;
        content_type: "text" | "file";
        conversation_id: string;
        created_at: string;
        delivery_error?: string | null;
        delivery_status?: "pending" | "sent" | "failed" | null;
        id: string;
        kind: "message";
        metadata?: Record<string, unknown>;
        read_at?: string | null;
        sender_id: string | null;
        sender_name?: string | null;
        sender_type: ChatSenderType;
        seq: number;
        visibility: "public" | "private";
    }
    Index
    attachments: ChatAttachment[]
    content: string
    content_type: "text" | "file"
    conversation_id: string
    created_at: string
    delivery_error?: string | null
    delivery_status?: "pending" | "sent" | "failed" | null
    id: string
    kind: "message"
    metadata?: Record<string, unknown>
    read_at?: string | null
    sender_id: string | null
    sender_name?: string | null
    sender_type: ChatSenderType
    seq: number
    visibility: "public" | "private"