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

    Variable DirectThreadThemePickerScreenConst

    DirectThreadThemePickerScreen: ScreenDefinition<
        "DirectThreadThemePicker",
        "screen",
        { thread_v2_id: string },
        { themes: readonly { name: string; theme_id: string }[] },
        { thread_v2_id: string },
        IgApiError | RequestError | ParseError | TransportError,

            | PlainJsonApiHttp
            | GraphqlJsonHttp
            | MobileApplication
            | MobileNavigation
            | AndroidThrottlingDetector,
        {},
        {
            themes: {
                at: "themes";
                item: ScreenItemDefinition<
                    "DirectTheme",
                    { name: string; theme_id: string },
                    { name: string; theme_id: string },
                    DirectThemeState,
                    never,
                    never,
                    {
                        setTheme: (
                            self: ScreenHandle,
                            state: DirectThemeState,
                        ) => (
                            ...args: [],
                        ) => Effect<
                            DirectThreadSetThemeResponse & { raw: ActionRaw },

                                | IgApiError
                                | RequestError
                                | ParseError
                                | TransportError
                                | ScreenEnterConcurrentError,
                            PlainJsonApiHttp
                            | MobileDevice
                            | MobileNavigation
                            | ScreenStack,
                        >;
                    },
                    { thread_v2_id: string },
                    never,
                >;
                key: "theme_id";
                source: ScreenItemNodes;
            };
        },
        never,
        never,
    > = ...

    direct_thread_theme_picker, the theme list of one chat. Its enter sends direct_v2/selectable_themes/ (451 sends it while the picker is opening) and the list is the screen's data; each row applies itself with its own setTheme.

    IGGetThemePreview is not modelled: the response body of the 451 app's request is not known, so the preview screen has nothing to decode.

    Guide: Direct