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

    Interface RegistrationBirthdayActions

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

    interface RegistrationBirthdayActions {
        submitBirthday: (
            ...args: [birthday: RegistrationBirthdayInput],
        ) => Effect<
            AssembledHandle<
                "RegistrationName",
                "screen",
                {},
                RegistrationNameActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgApiError
                | RequestError
                | ParseError
                | TransportError
                | RegistrationInvalidBirthdayError
                | RegistrationChallengeRequiredError
                | RegistrationSpamError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError
                | RegistrationStateMissingError,
            never,
        >;
    }
    Index

    Properties

    Properties

    submitBirthday: (
        ...args: [birthday: RegistrationBirthdayInput],
    ) => Effect<
        AssembledHandle<
            "RegistrationName",
            "screen",
            {},
            RegistrationNameActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | RegistrationInvalidBirthdayError
            | RegistrationChallengeRequiredError
            | RegistrationSpamError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError
            | RegistrationStateMissingError,
        never,
    >

    Picks the day, month and year and taps Next. A birthday the server refuses (an under-age one included) is the typed RegistrationInvalidBirthdayError; an accepted one answers the name screen's handle.