@japofc/baileys - v2.4.7
    Preparing search index...

    Interface CaptureEventStreamOptions

    interface CaptureEventStreamOptions {
        events?: string | string[];
        redact?: boolean;
        redactor?: (event: string, data: any) => any;
    }
    Index
    events?: string | string[]

    Only capture these event names.

    redact?: boolean

    Mask secret fields before writing (default true).

    redactor?: (event: string, data: any) => any

    Custom transform applied to each event's data (wins over redact).