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

    Type Alias ScreenFeedState<Cursor, Host>

    ScreenFeedState: { cursor: Cursor | undefined } & (
        [Host] extends [never] ? {} : { facts: Host }
    )

    A feed screen's state: the cursor the page after the first is requested with — the first page's cursor continued by its answer, as the feed's cursor derives it — absent when the server said no page follows, and the facts the feed carries beside it from its input (its host), which its items read as their host's state (facts, present exactly when the feed declares a host). Without such facts the state is only the cursor.

    Type Parameters

    • Cursor
    • Host extends object = never