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

    Variable DirectCustomizeChatScreenConst

    DirectCustomizeChatScreen: ScreenDefinition<
        "DirectCustomizeChat",
        "screen",
        { thread_v2_id: string },
        { thread_v2_id: string },
        { thread_v2_id: string },
        never,

            | PlainJsonApiHttp
            | GraphqlJsonHttp
            | MobileApplication
            | MobileNavigation
            | MobileProcessBackground,
        {
            openThemePicker: (
                self: ScreenHandle,
                state: { thread_v2_id: string },
            ) => ScreenEdgeBound<
                ScreenEdgeShape<
                    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,
                        {},
                        {
                            themes: {
                                at: "themes";
                                item: ScreenItemDefinition<
                                    "DirectTheme",
                                    { name: string; theme_id: string },
                                    { name: string; theme_id: string },
                                    DirectThemeState,
                                    never,
                                    never,
                                    { setTheme: (self: ..., state: ...) => ... },
                                    { thread_v2_id: string },
                                    never,
                                >;
                                key: "theme_id";
                                source: ScreenItemNodes;
                            };
                        },
                        never,
                        never,
                    >,
                    [],
                    "button",
                    AndroidScreens,
                >,
                (
                    ...args: [],
                ) => Effect<
                    AssembledHandle<
                        "DirectThreadThemePicker",
                        "screen",
                        { themes: readonly { name: string; theme_id: string }[] },
                        {},
                        {
                            themes: {
                                at: "themes";
                                item: ScreenItemDefinition<
                                    "DirectTheme",
                                    { name: ...; theme_id: ... },
                                    { name: ...; theme_id: ... },
                                    DirectThemeState,
                                    never,
                                    never,
                                    { setTheme: ... },
                                    { thread_v2_id: ... },
                                    never,
                                >;
                                key: "theme_id";
                                source: ScreenItemNodes;
                            };
                        },
                        ScreenHandle,
                        "required",
                        true,
                        never,
                        AndroidScreens,
                    >,
                    | IgApiError
                    | RequestError
                    | ParseError
                    | TransportError
                    | ScreenDataError
                    | ScreenEnterConcurrentError
                    | ScreenEdgeInputError,
                    | PlainJsonApiHttp
                    | GraphqlJsonHttp
                    | MobileApplication
                    | MobileNavigation
                    | ScreenStack
                    | ScreenCatalog,
                >,
            >;
        },
        Record<never, never>,
        never,
        "thread_v2_id",
    > = ...

    CustomizeChatFragment:customize_chat, the thread's Customize chat screen (iOS: direct_customize_chat_bottomsheet, the app's own Direct name for the same sheet, which the public name follows). Its open sends the theme list and the Meta Verified promo configuration for the theme picker, in flight: the app sends both at the sheet's open, 50–80 ms before it pushes the picker over it, and the list arrives on the picker. The edge opens DirectThreadThemePicker with the thread id it carries (448 chain: customize_chat:5 → direct_thread_theme_picker:6).

    Guide: Direct