igpapi — Instagram private API Simulator for Node.js (API reference) 4.14.0
    Preparing search index...

    Interface RegistrationPhoneNumberActions

    The actions of RegistrationPhoneNumberScreen: the method you call on its handle while the screen is open.

    interface RegistrationPhoneNumberActions {
        submitPhoneNumber: (
            ...args: [phoneNumber: string],
        ) => Effect<
            AssembledHandle<
                "RegistrationConfirmationCode",
                "screen",
                {},
                RegistrationConfirmationCodeActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgNotFoundError
                | IgRateLimitError
                | IgSpamError
                | IgCheckpointError
                | IgAccountSuspendedError
                | IgAccountDisabledError
                | IgCookieConsentRequiredError
                | IgLoginRequiredError
                | IgUserLoggedOutError
                | IgPrivateUserError
                | IgInactiveUserError
                | IgSentryBlockError
                | IgIpBlockError
                | IgLoginTwoFactorRequiredError
                | RequestError
                | ParseError
                | TransportError
                | IgBloks429Error
                | RegistrationInvalidPhoneError
                | RegistrationChallengeRequiredError
                | RegistrationSpamError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError
                | RegistrationStateMissingError,
            never,
        >;
    }
    Index

    Properties

    submitPhoneNumber: (
        ...args: [phoneNumber: string],
    ) => Effect<
        AssembledHandle<
            "RegistrationConfirmationCode",
            "screen",
            {},
            RegistrationConfirmationCodeActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgNotFoundError
            | IgRateLimitError
            | IgSpamError
            | IgCheckpointError
            | IgAccountSuspendedError
            | IgAccountDisabledError
            | IgCookieConsentRequiredError
            | IgLoginRequiredError
            | IgUserLoggedOutError
            | IgPrivateUserError
            | IgInactiveUserError
            | IgSentryBlockError
            | IgIpBlockError
            | IgLoginTwoFactorRequiredError
            | RequestError
            | ParseError
            | TransportError
            | IgBloks429Error
            | RegistrationInvalidPhoneError
            | RegistrationChallengeRequiredError
            | RegistrationSpamError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError
            | RegistrationStateMissingError,
        never,
    >

    Types the mobile number (with the country code) and taps Next: submits the number and asks for the SMS code. Answers the confirmation-code screen's handle; a refused number is a typed error and the screen stays on top.