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

    Interface ExploreActions

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

    interface ExploreActions {
        openSearchInput: (
            ...args: [],
        ) => Effect<
            AssembledHandle<
                "SearchInput",
                "screen",
                {
                    query: string;
                    rankToken: string;
                    recentAccounts: readonly {
                        fullName: string;
                        userId: string;
                        username: string;
                    }[];
                    results: readonly (
                        | {
                            __typename: "unknown";
                            item: { kind: "unknown"; kindKey?: string; raw: Json };
                            key: string;
                        }
                        | {
                            __typename: "XDTTypeaheadSearchKeyword";
                            key: string;
                            keyword_lazified: {
                                id: string;
                                name: string;
                                user?: | {
                                    full_name?: (...)
                                    | (...);
                                    id: string;
                                    is_private?: (...) | (...) | (...);
                                    is_verified?: (...) | (...) | (...);
                                    latest_reel_media?: (...) | (...) | (...);
                                    profile_pic_url?: (...) | (...);
                                    search_serp_type?: (...) | (...) | (...);
                                    username: string;
                                }
                                | null;
                            };
                        }
                        | {
                            __typename: "XDTTypeaheadSearchUser";
                            key: string;
                            rank_token?: string;
                            user: {
                                full_name?: string;
                                id: string;
                                is_private?: boolean;
                                is_verified?: boolean;
                                latest_reel_media?: number
                                | null;
                                profile_pic_url?: string;
                                search_serp_type?: number | null;
                                username: string;
                            };
                        }
                        | {
                            __typename: "XDTTypeaheadSearchHashtag";
                            hashtag: { id: string; media_count?: number; name: string };
                            key: string;
                        }
                        | {
                            __typename: "XDTTypeaheadSearchOverfetchedKeywords";
                            key: string;
                            keywords: readonly {
                                id: string;
                                name: string;
                                user?: | {
                                    full_name?: ...;
                                    id: ...;
                                    is_private?: ...;
                                    is_verified?: ...;
                                    latest_reel_media?: ...;
                                    profile_pic_url?: ...;
                                    search_serp_type?: ...;
                                    username: ...;
                                }
                                | null;
                            }[];
                            num_keywords_to_show?: number;
                            query_text: string;
                        }
                    )[];
                    session?: {
                        clientUuidRankToken: string;
                        searchSessionId: string;
                        serpSessionId?: string;
                        typeaheadSessionId: string;
                    };
                },
                SearchInputActions,
                SearchInputItems,
                ScreenHandle,
                "required",
                true,
                never,
                AndroidScreens,
            >,
            | IgApiError
            | RequestError
            | ParseError
            | TransportError
            | SchemaError
            | GraphqlRootFieldMissingError
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError,
            never,
        >;
    }
    Index

    Properties

    Properties

    openSearchInput: (
        ...args: [],
    ) => Effect<
        AssembledHandle<
            "SearchInput",
            "screen",
            {
                query: string;
                rankToken: string;
                recentAccounts: readonly {
                    fullName: string;
                    userId: string;
                    username: string;
                }[];
                results: readonly (
                    | {
                        __typename: "unknown";
                        item: { kind: "unknown"; kindKey?: string; raw: Json };
                        key: string;
                    }
                    | {
                        __typename: "XDTTypeaheadSearchKeyword";
                        key: string;
                        keyword_lazified: {
                            id: string;
                            name: string;
                            user?: | {
                                full_name?: (...)
                                | (...);
                                id: string;
                                is_private?: (...) | (...) | (...);
                                is_verified?: (...) | (...) | (...);
                                latest_reel_media?: (...) | (...) | (...);
                                profile_pic_url?: (...) | (...);
                                search_serp_type?: (...) | (...) | (...);
                                username: string;
                            }
                            | null;
                        };
                    }
                    | {
                        __typename: "XDTTypeaheadSearchUser";
                        key: string;
                        rank_token?: string;
                        user: {
                            full_name?: string;
                            id: string;
                            is_private?: boolean;
                            is_verified?: boolean;
                            latest_reel_media?: number
                            | null;
                            profile_pic_url?: string;
                            search_serp_type?: number | null;
                            username: string;
                        };
                    }
                    | {
                        __typename: "XDTTypeaheadSearchHashtag";
                        hashtag: { id: string; media_count?: number; name: string };
                        key: string;
                    }
                    | {
                        __typename: "XDTTypeaheadSearchOverfetchedKeywords";
                        key: string;
                        keywords: readonly {
                            id: string;
                            name: string;
                            user?: | {
                                full_name?: ...;
                                id: ...;
                                is_private?: ...;
                                is_verified?: ...;
                                latest_reel_media?: ...;
                                profile_pic_url?: ...;
                                search_serp_type?: ...;
                                username: ...;
                            }
                            | null;
                        }[];
                        num_keywords_to_show?: number;
                        query_text: string;
                    }
                )[];
                session?: {
                    clientUuidRankToken: string;
                    searchSessionId: string;
                    serpSessionId?: string;
                    typeaheadSessionId: string;
                };
            },
            SearchInputActions,
            SearchInputItems,
            ScreenHandle,
            "required",
            true,
            never,
            AndroidScreens,
        >,
        | IgApiError
        | RequestError
        | ParseError
        | TransportError
        | SchemaError
        | GraphqlRootFieldMissingError
        | ScreenEnterConcurrentError
        | ScreenDataError
        | ScreenEdgeInputError,
        never,
    >

    Taps the search field and opens the search input, which shows your recent searches. Answers its handle.