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

    Interface MediaGuardOptions

    interface MediaGuardOptions {
        autoDelete?: boolean;
        blocked?: GuardedMediaType[];
        exemptUsers?: string[];
        groupsOnly?: boolean;
        includeFromMe?: boolean;
        rules?: Record<string, GuardedMediaType[]>;
    }
    Index
    autoDelete?: boolean

    Delete violations for everyone (bot must be admin). Default false.

    blocked?: GuardedMediaType[]

    Types blocked in every watched chat.

    exemptUsers?: string[]
    groupsOnly?: boolean

    Only watch groups. Default true.

    includeFromMe?: boolean
    rules?: Record<string, GuardedMediaType[]>

    Per-chat overrides: chat jid → blocked types (replaces the global list).