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

    Interface ChallengeContactPointCodeActions

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

    interface ChallengeContactPointCodeActions {
        changeContactPoint: (
            ...args: [],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,
            ChallengeRequestFailure | ChallengeContinueFailure,
            never,
        >;
        resendCode: (
            ...args: [],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,
            ChallengeRequestFailure | ChallengeContinueFailure,
            never,
        >;
        submitCode: (
            ...args: [code: string],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,
            ChallengeRequestFailure | ChallengeContinueFailure,
            never,
        >;
    }
    Index

    Properties

    changeContactPoint: (
        ...args: [],
    ) => Effect<
        ActionAnswer<ChallengeOutcome>,
        ChallengeRequestFailure | ChallengeContinueFailure,
        never,
    >

    Taps the link to use another email address or phone number instead. Answers what the challenge does next: the next challenge screen, or the challenge's end.

    resendCode: (
        ...args: [],
    ) => Effect<
        ActionAnswer<ChallengeOutcome>,
        ChallengeRequestFailure | ChallengeContinueFailure,
        never,
    >

    Taps Resend code: Instagram sends a new code to the same contact point. The screen stays on, with fresh state. Answers what the challenge does next: the next challenge screen, or the challenge's end.

    submitCode: (
        ...args: [code: string],
    ) => Effect<
        ActionAnswer<ChallengeOutcome>,
        ChallengeRequestFailure | ChallengeContinueFailure,
        never,
    >

    Types the confirmation code Instagram sent to your contact point and taps Confirm. Answers what the challenge does next: the next challenge screen, or the challenge's end.