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

    Interface PostingMusicBrowserActions

    The actions of PostingMusicBrowserScreen: the methods you call on its handle while the screen is open.

    interface PostingMusicBrowserActions {
        openSearch: (
            ...args: [],
        ) => Effect<
            AssembledHandle<
                "PostingMusicSearchResults",
                "screen",
                {
                    keywords: readonly string[];
                    query: string;
                    results: readonly (
                        | {
                            alacornSessionId: string;
                            kind: "track";
                            track: PostingMusicTrack;
                        }
                        | { kind: "originalAudio"; originalAudio: PostingMusicOriginalAudio }
                    )[];
                    searchSessionId: string;
                },
                PostingMusicSearchResultsActions,
                Record<never, never>,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,

                | IgCheckpointError
                | IgAccountSuspendedError
                | IgAccountDisabledError
                | IgLoginRequiredError
                | IgUserLoggedOutError
                | ScreenEnterConcurrentError
                | ScreenDataError
                | ScreenEdgeInputError,
            never,
        >;
    }
    Index

    Properties

    Properties

    openSearch: (
        ...args: [],
    ) => Effect<
        AssembledHandle<
            "PostingMusicSearchResults",
            "screen",
            {
                keywords: readonly string[];
                query: string;
                results: readonly (
                    | {
                        alacornSessionId: string;
                        kind: "track";
                        track: PostingMusicTrack;
                    }
                    | { kind: "originalAudio"; originalAudio: PostingMusicOriginalAudio }
                )[];
                searchSessionId: string;
            },
            PostingMusicSearchResultsActions,
            Record<never, never>,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,

            | IgCheckpointError
            | IgAccountSuspendedError
            | IgAccountDisabledError
            | IgLoginRequiredError
            | IgUserLoggedOutError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError,
        never,
    >

    Taps the search field: asks for the empty search state and opens the results screen. Answers its handle.