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

    Interface ChallengeSubmitPhoneActions

    The actions of ChallengeSubmitPhoneScreen: the methods you call on its handle while the screen is open.

    interface ChallengeSubmitPhoneActions {
        submitPhoneNumber: (
            ...args: [phoneNumber: string],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,

                | ChallengeRequestFailure
                | ChallengeContinueFailure
                | IgChallengeUnknownResponseError
                | IgChallengeNavigationSubmitPhoneInvalidPhoneNumberError,
            never,
        >;
    }
    Index

    Properties

    submitPhoneNumber: (
        ...args: [phoneNumber: string],
    ) => Effect<
        ActionAnswer<ChallengeOutcome>,

            | ChallengeRequestFailure
            | ChallengeContinueFailure
            | IgChallengeUnknownResponseError
            | IgChallengeNavigationSubmitPhoneInvalidPhoneNumberError,
        never,
    >

    Types your phone number (phoneNumber) and taps Next. A number the server refuses is the typed IgChallengeNavigationSubmitPhoneInvalidPhoneNumberError. Answers what the challenge does next: the next challenge screen, or the challenge's end.