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

    Interface SentMessage<TRaw>

    Result of an outbound send handed back to ctx.reply(...) callers.

    interface SentMessage<TRaw = unknown> {
        ref: MessageRef;
        id: string;
        chatId: string;
        raw?: TRaw;
        skipped?: boolean;
        parts?: MessageRef[];
    }

    Type Parameters

    • TRaw = unknown
    Index
    id: string

    Convenience mirrors of ref (avoids callers destructuring ref).

    chatId: string
    raw?: TRaw
    skipped?: boolean
    parts?: MessageRef[]

    The ref of every part when a long text was split (see SendResult.parts).