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

    Variable DirectMediaPickerPhotosInputSchemaConst

    DirectMediaPickerPhotosInputSchema: Struct<
        {
            send_attribution: optionalKey<
                Literals<
                    readonly [
                        "inbox",
                        "inbox_new_message",
                        "direct_thread_creation_omnipicker",
                        "message_button",
                    ],
                >,
            >;
            thread_id: String;
        },
    > = ...

    What the gallery picker is opened with, and all it keeps: the conversation a picked photo or video is sent to (the long thread id every broadcast names) and the attribution the visit carries. The picker's answer (IGMetaMediaCloudAppsQuery) is not decoded: the grid it draws is the person's own media, which the Simulator never reads.