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

    Interface PairWithCodeOptions

    interface PairWithCodeOptions {
        customCode?: string;
        onCode?: (code: string, formatted: string) => void;
        timeoutMs?: number;
        wait?: boolean;
    }
    Index
    customCode?: string

    Custom pairing code in any human format ("abcd-efgh" ok).

    onCode?: (code: string, formatted: string) => void

    Receives (code, formatted) as soon as the code is issued.

    timeoutMs?: number
    wait?: boolean

    Wait for pairing completion (default true).