xmpp_p2p
    Preparing search index...

    Interface XmppMessage

    Normalized chat message record used for local history and resends.

    interface XmppMessage {
        body: string;
        carbon?: { type: "received" | "sent" };
        chatState?: "paused" | "active" | "composing" | "inactive" | "gone";
        delay?: { from?: string; stamp: string };
        encrypted?: boolean;
        encryption?: "openpgp" | "omemo";
        from: string;
        id?: string;
        nickname?: string;
        originId?: string;
        private?: boolean;
        receipt?: { id: string; type: "request" | "received" };
        replace?: string;
        reply?: { id: string; to?: string };
        stanzaId?: { by: string; id: string };
        thread?: string;
        to: string;
        type?: string;
    }
    Index

    Properties

    body: string
    carbon?: { type: "received" | "sent" }
    chatState?: "paused" | "active" | "composing" | "inactive" | "gone"
    delay?: { from?: string; stamp: string }
    encrypted?: boolean
    encryption?: "openpgp" | "omemo"
    from: string
    id?: string
    nickname?: string
    originId?: string
    private?: boolean
    receipt?: { id: string; type: "request" | "received" }
    replace?: string
    reply?: { id: string; to?: string }
    stanzaId?: { by: string; id: string }
    thread?: string
    to: string
    type?: string