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

    Interface RegistrationNameActions

    The actions of RegistrationNameScreen: the method you call on its handle while the screen is open.

    interface RegistrationNameActions {
        submitName: (
            ...args: [fullName: string],
        ) => Effect<
            AssembledHandle<
                "RegistrationUsername",
                "screen",
                {},
                RegistrationUsernameActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | BloksHttpError
                | RegistrationInvalidNameError
                | RegistrationChallengeRequiredError
                | RegistrationSpamError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError
                | RegistrationStateMissingError,
            never,
        >;
    }
    Index

    Properties

    Properties

    submitName: (
        ...args: [fullName: string],
    ) => Effect<
        AssembledHandle<
            "RegistrationUsername",
            "screen",
            {},
            RegistrationUsernameActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | BloksHttpError
            | RegistrationInvalidNameError
            | RegistrationChallengeRequiredError
            | RegistrationSpamError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError
            | RegistrationStateMissingError,
        never,
    >

    Types the full name and taps Next. A name the server refuses is the typed RegistrationInvalidNameError; an accepted one answers the username screen's handle.