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

    Interface JoinRequestManagerOptions

    Join-request manager — auto approve/reject group membership requests.

    interface JoinRequestManagerOptions {
        allowlist?: string[];
        denylist?: string[];
        groups?: string[];
        mode?: "manual" | "approve-all" | "reject-all";
    }
    Index
    allowlist?: string[]

    Always approved (beats mode).

    denylist?: string[]

    Always rejected (beats allowlist and mode).

    groups?: string[]

    Only watch these group jids. Omit for all groups.

    mode?: "manual" | "approve-all" | "reject-all"

    'manual' (default): undecided requests go to onRequest.