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

    Variable DirectThreadSharedMediaScreenConst

    DirectThreadSharedMediaScreen: ScreenDefinition<
        "DirectThreadSharedMedia",
        "screen",
        { is_group: boolean; thread_title: string; thread_v2_id: string },
        { is_group: boolean; thread_title: string; thread_v2_id: string },
        { is_group: boolean; thread_title: string; thread_v2_id: string },
        IgApiError | RequestError | ParseError | TransportError,
        PlainJsonApiHttp | MobileNavigation | AndroidDirectSurface,
        {
            openCustomizeChat: (
                self: ScreenHandle,
                state: { is_group: boolean; thread_title: string; thread_v2_id: string },
            ) => ScreenEdgeBound<
                ScreenEdgeShape<
                    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<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >,
                                    [],
                                    "button",
                                    AndroidScreens,
                                >,
                                (...args: []) => Effect<(...), (...), (...)>,
                            >;
                        },
                        Record<never, never>,
                        never,
                        "thread_v2_id",
                    >,
                    [],
                    "button",
                    AndroidScreens,
                >,
                () => Effect<
                    AssembledHandle<
                        "DirectCustomizeChat",
                        "screen",
                        { thread_v2_id: string },
                        {
                            openThemePicker: (
                                self: ScreenHandle,
                                state: { thread_v2_id: string },
                            ) => ScreenEdgeBound<
                                ScreenEdgeShape<(...), (...), (...), (...)>,
                                (...args: ...) => ...,
                            >;
                        },
                        Record<never, never>,
                        ScreenHandle,
                        "required",
                        true,
                        "thread_v2_id",
                        AndroidScreens,
                    >,
                    ScreenDataError | ScreenEnterConcurrentError | ScreenEdgeInputError,

                        | PlainJsonApiHttp
                        | GraphqlJsonHttp
                        | MobileApplication
                        | MobileNavigation
                        | ScreenStack
                        | MobileProcessBackground
                        | ScreenCatalog,
                >,
            >;
            openGroupNameEditor: (
                self: ScreenHandle,
                state: { is_group: boolean; thread_title: string; thread_v2_id: string },
            ) => ScreenEdgeBound<
                ScreenEdgeShape<
                    ScreenDefinition<
                        "DirectGroupNameAndPhotoEditor",
                        "screen",
                        { is_group: boolean; thread_title: string; thread_v2_id: string },
                        { is_group: boolean; thread_title: string; thread_v2_id: string },
                        { is_group: boolean; thread_title: string; thread_v2_id: string },
                        never,
                        MobileNavigation,
                        {
                            changeName: (
                                self: ScreenHandle,
                                state: {
                                    is_group: boolean;
                                    thread_title: string;
                                    thread_v2_id: string;
                                },
                            ) => (
                                ...args: [name: string],
                            ) => Effect<
                                (...) & (...),
                                (...) | (...) | (...) | (...) | (...),
                                (...) | (...) | (...) | (...),
                            >;
                        },
                        Record<never, never>,
                        never,
                        "thread_v2_id",
                    >,
                    [],
                    "button",
                    AndroidScreens,
                >,
                (
                    ...args: [],
                ) => Effect<
                    AssembledHandle<
                        "DirectGroupNameAndPhotoEditor",
                        "screen",
                        { is_group: boolean; thread_title: string; thread_v2_id: string },
                        {
                            changeName: (
                                self: ScreenHandle,
                                state: {
                                    is_group: boolean;
                                    thread_title: string;
                                    thread_v2_id: string;
                                },
                            ) => (...args: [name: ...]) => Effect<(...), (...), (...)>;
                        },
                        Record<never, never>,
                        ScreenHandle,
                        "required",
                        true,
                        "thread_v2_id",
                        AndroidScreens,
                    >,
                    ScreenDataError | ScreenEnterConcurrentError | ScreenEdgeInputError,
                    MobileNavigation | ScreenStack | ScreenCatalog,
                >,
            >;
        },
        Record<never, never>,
        never,
        "thread_v2_id",
    > = ...

    DirectThreadSharedMediaFragment, a thread's shared media list (the app's own chain module direct_thread_shared_media).

    What a person sees: the thread's shared media lists. Their answers are not decoded yet — the answer body is not modelled — so the data is the thread and its name only: this public shape is temporary and expands with the media list once those answers are modelled.

    Actions: openGroupNameEditor opens DirectGroupNameAndPhotoEditor (group threads only; a one-to-one thread is refused in that screen's enter).

    How it is reached: from the details hub (openSharedMedia); the edge takes the next ordinal (the group chain is details 7 → shared media 8).

    Burst: after the screen comes to front, its enter sends the thread's media pages together, in the app's order (see MEDIA_PAGES, one list for both thread kinds), on the thread's first visit only.

    The media pages carry this screen's endpoint and module (Android 451, group and one-to-one).

    Guide: A conversation's shared media