@botmesh/core - v2.0.0-alpha.2
    Preparing search index...

    Interface SendResult<TRaw>

    Result of a send. Opaque ref — no faked remoteJid/fromMe triple.

    interface SendResult<TRaw = unknown> {
        ref: MessageRef;
        raw?: TRaw;
        skipped?: boolean;
        parts?: MessageRef[];
    }

    Type Parameters

    • TRaw = unknown
    Index
    raw?: TRaw
    skipped?: boolean

    True when a before('send') hook aborted; nothing was transmitted.

    parts?: MessageRef[]

    Set only when the core split a long text into several messages (see BotConfig.splitLongText): the ref of every part, in send order. ref and raw are then those of the last part.