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

    Interface ChallengeAuthenticityWizardActions

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

    interface ChallengeAuthenticityWizardActions {
        checkReviewStatus: (
            ...args: [],
        ) => Effect<
            ActionAnswer<ChallengeAuthenticityWizardPollAnswer>,

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

                | ChallengeRequestFailure
                | ChallengeContinueFailure
                | UfacAuthenticityWizardMissingStateError,
            never,
        >;
        uploadIdentityVerificationPhoto: (
            ...args: [image: UfacIdentityVerificationImage],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,

                | ChallengeRequestFailure
                | ChallengeContinueFailure
                | UfacAuthenticityWizardMissingStateError,
            never,
        >;
    }
    Index

    Properties

    checkReviewStatus: (
        ...args: [],
    ) => Effect<
        ActionAnswer<ChallengeAuthenticityWizardPollAnswer>,

            | ChallengeRequestFailure
            | ChallengeContinueFailure
            | UfacAuthenticityWizardMissingStateError,
        never,
    >

    Asks whether Instagram's review of the selfie has finished. While it is still running the action answers { status: 'still-waiting' } and you poll again at your own pace; once it has finished it answers what the challenge does next: the next challenge screen, or the challenge's end.

    startVideoSelfie: (
        ...args: [],
    ) => Effect<
        ActionAnswer<ChallengeOutcome>,

            | ChallengeRequestFailure
            | ChallengeContinueFailure
            | UfacAuthenticityWizardMissingStateError,
        never,
    >

    Taps Start video selfie, which starts the selfie step. The wizard stays on screen with fresh state, or moves to its next step. Answers what the challenge does next: the next challenge screen, or the challenge's end.

    uploadIdentityVerificationPhoto: (
        ...args: [image: UfacIdentityVerificationImage],
    ) => Effect<
        ActionAnswer<ChallengeOutcome>,

            | ChallengeRequestFailure
            | ChallengeContinueFailure
            | UfacAuthenticityWizardMissingStateError,
        never,
    >

    Uploads the identity-verification photo the wizard asks for (image). Answers what the challenge does next: the next challenge screen, or the challenge's end.