Cotal TypeScript packages
    Preparing search index...

    Interface InboxItem

    interface InboxItem {
        channel?: string;
        contextId?: string;
        fromId: string;
        fromName: string;
        fromRole?: string;
        historical: boolean;
        id: string;
        kind: "channel" | "dm" | "anycast";
        mentions?: string[];
        mentionsMe: boolean;
        notice?: "anycast" | "mention";
        recvKey: string;
        replyTo?: string;
        service?: string;
        text: string;
        ts: number;
    }
    Index
    channel?: string

    Set when kind === "channel".

    contextId?: string
    fromId: string
    fromName: string
    fromRole?: string
    historical: boolean

    True iff this is backfilled history (a "catching up" block on join), not a live message.

    id: string
    kind: "channel" | "dm" | "anycast"
    mentions?: string[]

    Lowercased names called out on a channel message (priority hint).

    mentionsMe: boolean

    True iff this message mentions us by name.

    notice?: "anycast" | "mention"

    Set on a delivery daemon's notice about one of this session's own role requests (anycast) or about a channel post whose mention it could not deliver (mention).

    recvKey: string

    Opaque per-delivery receive key (#624): the address for exact drains and in-flight holds. The wire id when the message carries one; a minted key when the id is empty (an empty id is never a dedup key and never an address). Never dedup authority.

    replyTo?: string
    service?: string

    Set when kind === "anycast" (the role addressed).

    text: string
    ts: number