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

    Interface ChallengeTextCaptchaActions

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

    interface ChallengeTextCaptchaActions {
        changeImage: (
            ...args: [],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,
            ChallengeRequestFailure | ChallengeContinueFailure,
            never,
        >;
        submitCaptcha: (
            ...args: [captcha: string],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,
            ChallengeRequestFailure | ChallengeContinueFailure,
            never,
        >;
    }
    Index

    Properties

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

    Taps the refresh icon to get a different captcha image. The screen stays on, with the new image. Answers what the challenge does next: the next challenge screen, or the challenge's end.

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

    Types the characters shown in the captcha image (captcha) and taps Continue. Answers what the challenge does next: the next challenge screen, or the challenge's end.