// Code generated by cmd/lexgen (see Makefile's lexgen); DO NOT EDIT. package bsky // schema: app.bsky.feed.getSuggestedFeeds import ( "context" "github.com/bluesky-social/indigo/xrpc" ) // FeedGetSuggestedFeeds_Output is the output of a app.bsky.feed.getSuggestedFeeds call. type FeedGetSuggestedFeeds_Output struct { Cursor *string `json:"cursor,omitempty" cborgen:"cursor,omitempty"` Feeds []*FeedDefs_GeneratorView `json:"feeds" cborgen:"feeds"` } // FeedGetSuggestedFeeds calls the XRPC method "app.bsky.feed.getSuggestedFeeds". func FeedGetSuggestedFeeds(ctx context.Context, c *xrpc.Client, cursor string, limit int64) (*FeedGetSuggestedFeeds_Output, error) { var out FeedGetSuggestedFeeds_Output params := map[string]interface{}{ "cursor": cursor, "limit": limit, } if err := c.Do(ctx, xrpc.Query, "", "app.bsky.feed.getSuggestedFeeds", params, nil, &out); err != nil { return nil, err } return &out, nil }