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

    Interface ChallengeSetNewPasswordActions

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

    interface ChallengeSetNewPasswordActions {
        submitNewPassword: (
            ...args: [password: string],
        ) => Effect<
            ActionAnswer<ChallengeOutcome>,

                | PasswordEncryptionKeysUnavailableError
                | ChallengeRequestFailure
                | ChallengeContinueFailure
                | IgChallengeNavigationSetNewPasswordTooEasyError,
            never,
        >;
    }
    Index

    Properties

    submitNewPassword: (
        ...args: [password: string],
    ) => Effect<
        ActionAnswer<ChallengeOutcome>,

            | PasswordEncryptionKeysUnavailableError
            | ChallengeRequestFailure
            | ChallengeContinueFailure
            | IgChallengeNavigationSetNewPasswordTooEasyError,
        never,
    >

    Types a new password (password) and taps Next. A password the server finds too easy to guess is the typed IgChallengeNavigationSetNewPasswordTooEasyError. Answers what the challenge does next: the next challenge screen, or the challenge's end.