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

    Variable DirectGifTrayScreenConst

    DirectGifTrayScreen: ScreenDefinition<
        "DirectGifTray",
        "screen",
        {
            send_attribution?: | "inbox"
            | "inbox_new_message"
            | "message_button"
            | "direct_thread_creation_omnipicker";
            thread_id: string;
        },
        { gifs: readonly { gif_id: string; preview_url?: string }[] },
        {
            send_attribution?:
                | "inbox"
                | "inbox_new_message"
                | "message_button"
                | "direct_thread_creation_omnipicker";
            thread_id: string;
        },
        IgApiError
        | RequestError
        | ParseError
        | TransportError,
        PlainJsonApiHttp | MobileNavigation,
        {},
        {
            gifs: {
                at: "gifs";
                item: ScreenItemDefinition<
                    "DirectGifTrayItem",
                    { gif_id: string; preview_url?: string },
                    { gif_id: string; preview_url?: string },
                    DirectGifRowState,
                    never,
                    never,
                    {
                        send: (
                            self: ScreenHandle,
                            state: DirectGifRowState,
                        ) => (
                            ...args: [],
                        ) => Effect<
                            {
                                action: string;
                                client_context: string;
                                message_metadata: (...)[];
                                payload: DirectBroadcastResponsePayload;
                                status: string;
                                status_code: string;
                            } & { raw: ActionRaw },

                                | IgApiError
                                | RequestError
                                | ParseError
                                | TransportError
                                | ScreenEnterConcurrentError,
                            | PlainJsonApiHttp
                            | Signature
                            | MobileDevice
                            | NavigationWire
                            | MobileNavigation
                            | ScreenStack,
                        >;
                    },
                    {
                        send_attribution?: | "inbox"
                        | "inbox_new_message"
                        | "message_button"
                        | "direct_thread_creation_omnipicker";
                        thread_id: string;
                    },
                    never,
                >;
                key: "gif_id";
                source: ScreenItemNodes;
            };
        },
        never,
        never,
    > = ...

    DirectThreadGifsTabFragment:direct_gif_tray_fragment, the tray's GIF tab: opening it searches GIPHY's GIFs with an empty query and the popular category, while the tray is in front; its entry is in the chain of the search and of the send.

    The answer's GIFs are the screen's rows (gifs), in its order: the one the person tapped sends itself with send(), the app's animated_media form.

    Guide: The sticker tray