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

    Interface SuggestedUserItemActions

    The actions of SuggestedUserItem: the methods you call on an item of the list.

    interface SuggestedUserItemActions {
        openProfile: (
            ...args: [],
        ) => Effect<
            AssembledHandle<
                "UserProfile",
                "screen",
                {
                    backgroundFailures: readonly {
                        message?: string;
                        request: | "story"
                        | "chaining"
                        | "recentSearchClick"
                        | "friendship"
                        | "highlights"
                        | "avatar"
                        | "inboxTray"
                        | "schoolBadge"
                        | "quickPromotion"
                        | "noteCtas"
                        | "selfProfileChaining"
                        | "creatorsTrial"
                        | "onboardingChecklist"
                        | "creatorDestinationType"
                        | "paymentsAccountDisabledRisk"
                        | "fbPayExperience"
                        | "donationsEligibility"
                        | "metaOneBenefitEligibility"
                        | "ringCreatorMetadata"
                        | "proHomeBadge"
                        | "proDashboard"
                        | "activityCount";
                        tag: string;
                    }[];
                    following?: boolean;
                    gridCursor?: { gridItemsCursor: string; maxId: string };
                    isPrivate: boolean;
                    media: readonly {
                        authorId?: string;
                        carousel?: { children: readonly string[]; size?: number };
                        dashManifest?: string;
                        mediaId: string;
                        mediaType?: number;
                        position: number;
                        takenAt?: number;
                        trackingToken?: string;
                        videoDuration?: number;
                    }[];
                    stories: readonly {
                        id: string;
                        media_type: number;
                        pk: string;
                        taken_at?: number;
                    }[];
                    suggested: readonly {
                        followRankingToken?: string;
                        fullName: string;
                        userId: string;
                        username: string;
                    }[];
                    userId: string;
                    username: string;
                },
                ProfileActions,
                ProfileItems,
                ScreenHandle,
                "required",
                true,
                "userId",
                AndroidScreens,
            >,
            | ScreenEnterConcurrentError
            | ScreenDataError
            | ScreenEdgeInputError
            | ProfileEnterError,
            never,
        >;
    }
    Index

    Properties

    Properties

    openProfile: (
        ...args: [],
    ) => Effect<
        AssembledHandle<
            "UserProfile",
            "screen",
            {
                backgroundFailures: readonly {
                    message?: string;
                    request: | "story"
                    | "chaining"
                    | "recentSearchClick"
                    | "friendship"
                    | "highlights"
                    | "avatar"
                    | "inboxTray"
                    | "schoolBadge"
                    | "quickPromotion"
                    | "noteCtas"
                    | "selfProfileChaining"
                    | "creatorsTrial"
                    | "onboardingChecklist"
                    | "creatorDestinationType"
                    | "paymentsAccountDisabledRisk"
                    | "fbPayExperience"
                    | "donationsEligibility"
                    | "metaOneBenefitEligibility"
                    | "ringCreatorMetadata"
                    | "proHomeBadge"
                    | "proDashboard"
                    | "activityCount";
                    tag: string;
                }[];
                following?: boolean;
                gridCursor?: { gridItemsCursor: string; maxId: string };
                isPrivate: boolean;
                media: readonly {
                    authorId?: string;
                    carousel?: { children: readonly string[]; size?: number };
                    dashManifest?: string;
                    mediaId: string;
                    mediaType?: number;
                    position: number;
                    takenAt?: number;
                    trackingToken?: string;
                    videoDuration?: number;
                }[];
                stories: readonly {
                    id: string;
                    media_type: number;
                    pk: string;
                    taken_at?: number;
                }[];
                suggested: readonly {
                    followRankingToken?: string;
                    fullName: string;
                    userId: string;
                    username: string;
                }[];
                userId: string;
                username: string;
            },
            ProfileActions,
            ProfileItems,
            ScreenHandle,
            "required",
            true,
            "userId",
            AndroidScreens,
        >,
        | ScreenEnterConcurrentError
        | ScreenDataError
        | ScreenEdgeInputError
        | ProfileEnterError,
        never,
    >

    Taps the suggested user and opens their profile. Answers its handle.