teleproto - v1.229.0
    Preparing search index...

    Interface SendCodeResult

    Result from sendCode containing info about how to proceed with verification.

    interface SendCodeResult {
        emailCodeSent?: boolean;
        emailOptions?: EmailVerificationOptions;
        emailRequired?: boolean;
        isCodeViaApp: boolean;
        phoneCodeHash: string;
    }
    Index
    emailCodeSent?: boolean

    If true, code was sent to existing email.

    Email verification options when email is involved.

    emailRequired?: boolean

    If true, email setup is required before phone code.

    isCodeViaApp: boolean

    Whether the code was sent via Telegram app (true) or SMS (false).

    phoneCodeHash: string

    The phone code hash needed for sign in.