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

    Interface RecordTranscriptOptions

    Options for recordTranscript.

    interface RecordTranscriptOptions {
        now?: () => number;
        includeFromMe?: boolean;
        maxTurns?: number;
    }
    Index
    now?: () => number

    Clock used for t offsets (default Date.now).

    includeFromMe?: boolean

    Also record messages flagged fromMe (echoes of the bot's own sends). Default false.

    maxTurns?: number

    Keep at most this many turns; older ones are dropped first (default DEFAULT_MAX_TURNS). The buffer holds message bodies, display names and ids in RAM, unredacted, so keep it bounded on a long-running bot and clear() it once a transcript has been taken. Infinity disables the cap.