@mica/sdk (SDK contract v1)
    Preparing search index...

    Interface DirectMessage

    One direct message between two accounts on the identity layer, in whichever social app the two accounts belong to. The row lives in mica_blabber_dms, which kept its name when the service became dms (sealed bodies are bound to the table name).

    interface DirectMessage {
        body: string;
        citizenid?: string;
        created_at: string | Date;
        from_account: number;
        id: number;
        read_at?: string | Date | null;
        status?: "active" | "deleted" | "moderated";
        to_account: number;
        updated_at: string | Date;
    }
    Index
    body: string
    citizenid?: string

    The sender's owner. Never crosses to the other party.

    created_at: string | Date
    from_account: number
    id: number
    read_at?: string | Date | null

    Null until the recipient opens the thread.

    status?: "active" | "deleted" | "moderated"
    to_account: number
    updated_at: string | Date