teleproto - v1.230.0
    Preparing search index...

    Interface SentCodeInfo

    Login code delivery details passed to the phoneCode callback.

    interface SentCodeInfo {
        beginning?: string;
        length?: number;
        nextType?: NextCodeDeliveryType;
        pattern?: string;
        prefix?: string;
        raw: SentCode;
        resend: () => Promise<SentCodeInfo>;
        timeout?: number;
        type: CodeDeliveryType;
        url?: string;
    }
    Index
    beginning?: string

    The first letters of the SMS word or phrase.

    length?: number

    The code length.

    How the code will be delivered after a resend, absent when it cannot be resent.

    pattern?: string

    The flash call number pattern.

    prefix?: string

    The missed call number prefix.

    The raw result.

    resend: () => Promise<SentCodeInfo>

    Resends the code using nextType and returns the new delivery details.

    timeout?: number

    Seconds to wait before resending the code.

    How the code was delivered.

    url?: string

    The Fragment link to open to get the code.