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

    Interface VerifierOptions

    interface VerifierOptions {
        autoChallenge?: boolean;
        challenge?: "math" | "emoji";
        generateChallenge?: (
            info: { chat: string; user: string },
        ) => { answer: string | number; question: string };
        groups?: string[];
        maxAttempts?: number;
        timeoutMs?: number;
    }
    Index
    autoChallenge?: boolean

    Auto-challenge members added to groups. Default true.

    challenge?: "math" | "emoji"

    Built-in preset: 'math' (default) or 'emoji'. Ignored when generateChallenge given.

    generateChallenge?: (
        info: { chat: string; user: string },
    ) => { answer: string | number; question: string }

    Custom challenge factory. Default: simple math.

    groups?: string[]

    Only watch these group jids. Omit for all groups.

    maxAttempts?: number

    Wrong answers before onFailed('attempts'). Default 3.

    timeoutMs?: number

    Time to answer before onFailed('timeout'). Default 120000. 0 disables.