Constructor
Properties
creator: Profile
The feed generator's creator.
descriptionFacets?: Facet[]
Any facets associated with the feed generator's description.
likeUri?: string
The URI of the feed generator's like record, if the viewer has liked the feed generator.
indexedAt: Date
The time the feed generator was indexed by the AppView.
Methods
getPosts(options?)
Get a feed of posts from the feed generator.
Parameters
options: FeedGeneratorGetPostsOptions = {}
Options for fetching the feed.
label(labels, comment?)
Apply labels to the feed geenrator.
Parameters
labels: string[]
The labels to apply.
comment?: string
An optional comment.
negateLabels(labels, comment?)
Negate labels previously applied to the feed geenrator.
Parameters
labels: string[]
The labels to negate.
comment?: string
An optional comment.
fromView(view, bot)
Constructs an instance from a GeneratorView.
Parameters
view: Brand.Omit<"@atcute/client/lexicons".AppBskyFeedDefs.GeneratorView>
The GeneratorView to construct from.
bot: Bot
The active Bot instance.