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

    Function challengeDispatchNavigation

    • Dispatch navigation challenges.

      Each step_name has its own Schema + screen factory. If none match → NavigationUnimplementedScreen.

      Parameters

      • state: {
            bloks_action: string;
            challenge_context: string;
            cni: string;
            flow_render_type: 3;
        }

      Returns Effect<
          | NavigationSubmitPhoneScreen
          | NavigationVerifyCodeScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string;
                  flow_render_type: 3;
              },
          >
          | NavigationSelectVerifyMethodScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string;
                  flow_render_type: 3;
              },
          >
          | NavigationDeltaAcknowledgeApprovedScreen
          | NavigationDeltaLoginReviewScreen
          | NavigationEscalationScreen
          | NavigationReviewContactPointChangeScreen
          | NavigationScrapingWarningScreen
          | NavigationSetNewPasswordScreen
          | NavigationAddBirthdayScreen
          | NavigationUnimplementedScreen,
          never,
          | PlainJsonApiHttp
          | MobileSession
          | MobileDevice
          | MobileApplication
          | BloksHttp
          | MobileDisplayScaleWire
          | JsonResponseHttp,
      >