IGPAPI
    Preparing search index...

    Interface ProfileFollowAnswer

    What a follow answers: the follow, the rail it refreshed and the reload's typed failures.

    interface ProfileFollowAnswer {
        backgroundFailures: readonly {
            message?: string;
            request:
                | "story"
                | "recentSearchClick"
                | "friendship"
                | "highlights"
                | "avatar"
                | "inboxTray"
                | "chaining"
                | "schoolBadge"
                | "quickPromotion"
                | "noteCtas"
                | "selfProfileChaining"
                | "creatorsTrial"
                | "onboardingChecklist"
                | "creatorDestinationType"
                | "paymentsAccountDisabledRisk"
                | "fbPayExperience"
                | "donationsEligibility"
                | "metaOneBenefitEligibility"
                | "ringCreatorMetadata"
                | "proHomeBadge"
                | "proDashboard";
            tag: string;
        }[];
        followed: FriendshipChangeResponse;
        suggested: readonly AssembledHandle<
            "SuggestedUser",
            "item",
            {
                followRankingToken?: string;
                fullName: string;
                userId: string;
                username: string;
            },
            {
                openProfile: (
                    self: ScreenHandle,
                    state: SuggestedUserState,
                ) => ScreenEdgeBound<
                    ScreenEdgeShape<UserProfileDefinition, []>,
                    (
                        ...args: [],
                    ) => Effect<
                        AssembledHandle<
                            "UserProfile",
                            "screen",
                            {
                                backgroundFailures: readonly {
                                    message?: ...;
                                    request: ...;
                                    tag: ...;
                                }[];
                                following?: boolean;
                                isPrivate: boolean;
                                media: readonly {
                                    authorId?: ...;
                                    followsAuthor?: ...;
                                    mediaId: ...;
                                    mediaType?: ...;
                                    page: ...;
                                    pageCursor?: ...;
                                    position: ...;
                                    takenAt?: ...;
                                    trackingToken?: ...;
                                    userId: ...;
                                    videoDuration?: ...;
                                }[];
                                suggested: readonly {
                                    followRankingToken?: ...;
                                    fullName: ...;
                                    userId: ...;
                                    username: ...;
                                }[];
                                userId: string;
                                username: string;
                            },
                            ProfileActions,
                            {
                                grid: {
                                    at: "media";
                                    item: ScreenItemDefinition<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >;
                                    key: "mediaId";
                                };
                                suggestedUsers: {
                                    at: "suggested";
                                    item: ScreenItemDefinition<
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                        (...),
                                    >;
                                    key: "userId";
                                };
                            },
                            ScreenHandle,
                            "required",
                        >,
                        | IgApiError
                        | RequestError
                        | ParseError
                        | TransportError
                        | SchemaError
                        | GraphqlRootFieldMissingError
                        | InvalidSkipOrdinalsError
                        | ScreenDataError
                        | ScreenEnterNavigationError
                        | ScreenEnterConcurrentError
                        | ScreenNotOnTopError
                        | ScreenEdgeInputError,
                    >,
                >;
            },
            Record<never, never>,
            ScreenHandle,
            "optional",
        >[];
    }
    Index

    Properties

    backgroundFailures: readonly {
        message?: string;
        request:
            | "story"
            | "recentSearchClick"
            | "friendship"
            | "highlights"
            | "avatar"
            | "inboxTray"
            | "chaining"
            | "schoolBadge"
            | "quickPromotion"
            | "noteCtas"
            | "selfProfileChaining"
            | "creatorsTrial"
            | "onboardingChecklist"
            | "creatorDestinationType"
            | "paymentsAccountDisabledRisk"
            | "fbPayExperience"
            | "donationsEligibility"
            | "metaOneBenefitEligibility"
            | "ringCreatorMetadata"
            | "proHomeBadge"
            | "proDashboard";
        tag: string;
    }[]
    suggested: readonly AssembledHandle<
        "SuggestedUser",
        "item",
        {
            followRankingToken?: string;
            fullName: string;
            userId: string;
            username: string;
        },
        {
            openProfile: (
                self: ScreenHandle,
                state: SuggestedUserState,
            ) => ScreenEdgeBound<
                ScreenEdgeShape<UserProfileDefinition, []>,
                (
                    ...args: [],
                ) => Effect<
                    AssembledHandle<
                        "UserProfile",
                        "screen",
                        {
                            backgroundFailures: readonly {
                                message?: ...;
                                request: ...;
                                tag: ...;
                            }[];
                            following?: boolean;
                            isPrivate: boolean;
                            media: readonly {
                                authorId?: ...;
                                followsAuthor?: ...;
                                mediaId: ...;
                                mediaType?: ...;
                                page: ...;
                                pageCursor?: ...;
                                position: ...;
                                takenAt?: ...;
                                trackingToken?: ...;
                                userId: ...;
                                videoDuration?: ...;
                            }[];
                            suggested: readonly {
                                followRankingToken?: ...;
                                fullName: ...;
                                userId: ...;
                                username: ...;
                            }[];
                            userId: string;
                            username: string;
                        },
                        ProfileActions,
                        {
                            grid: {
                                at: "media";
                                item: ScreenItemDefinition<
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                >;
                                key: "mediaId";
                            };
                            suggestedUsers: {
                                at: "suggested";
                                item: ScreenItemDefinition<
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                    (...),
                                >;
                                key: "userId";
                            };
                        },
                        ScreenHandle,
                        "required",
                    >,
                    | IgApiError
                    | RequestError
                    | ParseError
                    | TransportError
                    | SchemaError
                    | GraphqlRootFieldMissingError
                    | InvalidSkipOrdinalsError
                    | ScreenDataError
                    | ScreenEnterNavigationError
                    | ScreenEnterConcurrentError
                    | ScreenNotOnTopError
                    | ScreenEdgeInputError,
                >,
            >;
        },
        Record<never, never>,
        ScreenHandle,
        "optional",
    >[]