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

    Type Alias SearchInputState

    What continuing from the search field needs: the session the next query and the results screen reuse, the feed views the caller brought with the input, and the recent accounts the field holds from its empty open — typing hides them from the data, and clear() shows them again. Derived again on every retrace, never stored. An empty open holds the session it started, so the first keystroke continues it.

    type SearchInputState = {
        lastSeenMedia?: ReadonlyArray<LastSeenMedia>;
        query: string;
        recentAccounts: ReadonlyArray<RecentSearchAccount>;
        session?: TypeaheadReadySession;
    }
    Index

    Properties

    lastSeenMedia?: ReadonlyArray<LastSeenMedia>
    query: string

    The text the field shows now.

    recentAccounts: ReadonlyArray<RecentSearchAccount>

    The recent accounts the field lists when its text is empty (from the Explore tab's answer).