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

    Interface DirectStickerTrayActions

    The actions of DirectStickerTabTrayScreen: the methods you call on its handle while the tray is open.

    interface DirectStickerTrayActions {
        openGifTab: (
            ...args: [],
        ) => Effect<
            AssembledHandle<
                "DirectGifTray",
                "screen",
                { gifs: readonly { gif_id: string; preview_url?: string }[] },
                DirectGifActions,
                DirectGifItems,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgApiError
                | RequestError
                | ParseError
                | TransportError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError,
            never,
        >;
        openStickerTab: (
            ...args: [],
        ) => Effect<
            AssembledHandle<
                "DirectStickerPickerGrid",
                "screen",
                {
                    send_attribution?: | "inbox"
                    | "inbox_new_message"
                    | "message_button"
                    | "direct_thread_creation_omnipicker";
                    stickers: readonly { alt_text?: string; sticker_id: string }[];
                    thread_id: string;
                },
                DirectStickerActions,
                DirectStickerItems,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,
            ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError,
            never,
        >;
    }
    Index

    Properties

    openGifTab: (
        ...args: [],
    ) => Effect<
        AssembledHandle<
            "DirectGifTray",
            "screen",
            { gifs: readonly { gif_id: string; preview_url?: string }[] },
            DirectGifActions,
            DirectGifItems,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError,
        never,
    >

    Taps the GIF tab: opens it under the conversation. Answers its handle.

    openStickerTab: (
        ...args: [],
    ) => Effect<
        AssembledHandle<
            "DirectStickerPickerGrid",
            "screen",
            {
                send_attribution?: | "inbox"
                | "inbox_new_message"
                | "message_button"
                | "direct_thread_creation_omnipicker";
                stickers: readonly { alt_text?: string; sticker_id: string }[];
                thread_id: string;
            },
            DirectStickerActions,
            DirectStickerItems,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,
        ScreenEnterConcurrentError
        | ScreenDataError
        | ScreenEdgeInputError,
        never,
    >

    Taps the sticker tab: opens the sticker grid with the stickers the tray listed. Answers its handle.