app.bsky.feed.defs

class atproto_client.models.app.bsky.feed.defs.BlockedAuthor

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field did: str [Required]

Did.

field py_type: Literal['app.bsky.feed.defs#blockedAuthor'] = 'app.bsky.feed.defs#blockedAuthor'
field viewer: models.AppBskyActorDefs.ViewerState | None = None

Viewer.

class atproto_client.models.app.bsky.feed.defs.BlockedPost

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field author: models.AppBskyFeedDefs.BlockedAuthor [Required]

Author.

field blocked: bool [Required]

Blocked.

field py_type: Literal['app.bsky.feed.defs#blockedPost'] = 'app.bsky.feed.defs#blockedPost'
field uri: str [Required]

Uri.

atproto_client.models.app.bsky.feed.defs.ClickthroughAuthor

User clicked through to the author of the feed item

alias of Literal[‘app.bsky.feed.defs#clickthroughAuthor’]

atproto_client.models.app.bsky.feed.defs.ClickthroughEmbed

User clicked through to the embedded content of the feed item

alias of Literal[‘app.bsky.feed.defs#clickthroughEmbed’]

atproto_client.models.app.bsky.feed.defs.ClickthroughItem

User clicked through to the feed item

alias of Literal[‘app.bsky.feed.defs#clickthroughItem’]

atproto_client.models.app.bsky.feed.defs.ClickthroughReposter

User clicked through to the reposter of the feed item

alias of Literal[‘app.bsky.feed.defs#clickthroughReposter’]

class atproto_client.models.app.bsky.feed.defs.FeedViewPost

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field feed_context: str | None = None

Context provided by feed generator that may be passed back alongside interactions.

Constraints:
  • max_length = 2000

field post: models.AppBskyFeedDefs.PostView [Required]

Post.

field py_type: Literal['app.bsky.feed.defs#feedViewPost'] = 'app.bsky.feed.defs#feedViewPost'
field reason: ReasonRepost | models.AppBskyFeedDefs.ReasonPin[models.AppBskyFeedDefs.ReasonRepost | models.AppBskyFeedDefs.ReasonPin] | None = None
field reply: models.AppBskyFeedDefs.ReplyRef | None = None

Reply.

class atproto_client.models.app.bsky.feed.defs.GeneratorView

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field accepts_interactions: bool | None = None

Accepts interactions.

field avatar: str | None = None

Avatar.

field cid: str [Required]

Cid.

field creator: models.AppBskyActorDefs.ProfileView [Required]

Creator.

field description: str | None = None

Description.

Constraints:
  • max_length = 3000

field description_facets: List[models.AppBskyRichtextFacet.Main] | None = None

Description facets.

field did: str [Required]

Did.

field display_name: str [Required]

Display name.

field indexed_at: str [Required]

Indexed at.

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field like_count: int | None = None

Like count.

Constraints:
  • ge = 0

field py_type: Literal['app.bsky.feed.defs#generatorView'] = 'app.bsky.feed.defs#generatorView'
field uri: str [Required]

Uri.

field viewer: models.AppBskyFeedDefs.GeneratorViewerState | None = None

Viewer.

class atproto_client.models.app.bsky.feed.defs.GeneratorViewerState

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field like: str | None = None

Like.

field py_type: Literal['app.bsky.feed.defs#generatorViewerState'] = 'app.bsky.feed.defs#generatorViewerState'
class atproto_client.models.app.bsky.feed.defs.Interaction

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field event: models.AppBskyFeedDefs.RequestLess | models.AppBskyFeedDefs.RequestMore | models.AppBskyFeedDefs.ClickthroughItem | models.AppBskyFeedDefs.ClickthroughAuthor | models.AppBskyFeedDefs.ClickthroughReposter | models.AppBskyFeedDefs.ClickthroughEmbed | models.AppBskyFeedDefs.InteractionSeen | models.AppBskyFeedDefs.InteractionLike | models.AppBskyFeedDefs.InteractionRepost | models.AppBskyFeedDefs.InteractionReply | models.AppBskyFeedDefs.InteractionQuote | models.AppBskyFeedDefs.InteractionShare | str | None = None

Event.

field feed_context: str | None = None

Context on a feed item that was originally supplied by the feed generator on getFeedSkeleton.

Constraints:
  • max_length = 2000

field item: str | None = None

Item.

field py_type: Literal['app.bsky.feed.defs#interaction'] = 'app.bsky.feed.defs#interaction'
atproto_client.models.app.bsky.feed.defs.InteractionLike

User liked the feed item

alias of Literal[‘app.bsky.feed.defs#interactionLike’]

atproto_client.models.app.bsky.feed.defs.InteractionQuote

User quoted the feed item

alias of Literal[‘app.bsky.feed.defs#interactionQuote’]

atproto_client.models.app.bsky.feed.defs.InteractionReply

User replied to the feed item

alias of Literal[‘app.bsky.feed.defs#interactionReply’]

atproto_client.models.app.bsky.feed.defs.InteractionRepost

User reposted the feed item

alias of Literal[‘app.bsky.feed.defs#interactionRepost’]

atproto_client.models.app.bsky.feed.defs.InteractionSeen

Feed item was seen by user

alias of Literal[‘app.bsky.feed.defs#interactionSeen’]

atproto_client.models.app.bsky.feed.defs.InteractionShare

User shared the feed item

alias of Literal[‘app.bsky.feed.defs#interactionShare’]

class atproto_client.models.app.bsky.feed.defs.NotFoundPost

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field not_found: bool [Required]

Not found.

field py_type: Literal['app.bsky.feed.defs#notFoundPost'] = 'app.bsky.feed.defs#notFoundPost'
field uri: str [Required]

Uri.

class atproto_client.models.app.bsky.feed.defs.PostView

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field author: models.AppBskyActorDefs.ProfileViewBasic [Required]

Author.

field cid: str [Required]

Cid.

field embed: View | models.AppBskyEmbedVideo.View | models.AppBskyEmbedExternal.View | models.AppBskyEmbedRecord.View | models.AppBskyEmbedRecordWithMedia.View[models.AppBskyEmbedImages.View | models.AppBskyEmbedVideo.View | models.AppBskyEmbedExternal.View | models.AppBskyEmbedRecord.View | models.AppBskyEmbedRecordWithMedia.View] | None = None
field indexed_at: str [Required]

Indexed at.

field labels: List[models.ComAtprotoLabelDefs.Label] | None = None

Labels.

field like_count: int | None = None

Like count.

field py_type: Literal['app.bsky.feed.defs#postView'] = 'app.bsky.feed.defs#postView'
field quote_count: int | None = None

Quote count.

field record: UnknownType [Required]

Record.

field reply_count: int | None = None

Reply count.

field repost_count: int | None = None

Repost count.

field threadgate: models.AppBskyFeedDefs.ThreadgateView | None = None

Threadgate.

field uri: str [Required]

Uri.

field viewer: models.AppBskyFeedDefs.ViewerState | None = None

Viewer.

class atproto_client.models.app.bsky.feed.defs.ReasonPin

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field py_type: Literal['app.bsky.feed.defs#reasonPin'] = 'app.bsky.feed.defs#reasonPin'
class atproto_client.models.app.bsky.feed.defs.ReasonRepost

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field by: models.AppBskyActorDefs.ProfileViewBasic [Required]

By.

field indexed_at: str [Required]

Indexed at.

field py_type: Literal['app.bsky.feed.defs#reasonRepost'] = 'app.bsky.feed.defs#reasonRepost'
class atproto_client.models.app.bsky.feed.defs.ReplyRef

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field grandparent_author: models.AppBskyActorDefs.ProfileViewBasic | None = None

When parent is a reply to another post, this is the author of that post.

field parent: PostView | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost[models.AppBskyFeedDefs.PostView | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost] [Required]
field py_type: Literal['app.bsky.feed.defs#replyRef'] = 'app.bsky.feed.defs#replyRef'
field root: PostView | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost[models.AppBskyFeedDefs.PostView | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost] [Required]
atproto_client.models.app.bsky.feed.defs.RequestLess

Request that less content like the given feed item be shown in the feed

alias of Literal[‘app.bsky.feed.defs#requestLess’]

atproto_client.models.app.bsky.feed.defs.RequestMore

Request that more content like the given feed item be shown in the feed

alias of Literal[‘app.bsky.feed.defs#requestMore’]

class atproto_client.models.app.bsky.feed.defs.SkeletonFeedPost

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field feed_context: str | None = None

Context that will be passed through to client and may be passed to feed generator back alongside interactions.

Constraints:
  • max_length = 2000

field post: str [Required]

Post.

field py_type: Literal['app.bsky.feed.defs#skeletonFeedPost'] = 'app.bsky.feed.defs#skeletonFeedPost'
field reason: SkeletonReasonRepost | models.AppBskyFeedDefs.SkeletonReasonPin[models.AppBskyFeedDefs.SkeletonReasonRepost | models.AppBskyFeedDefs.SkeletonReasonPin] | None = None
class atproto_client.models.app.bsky.feed.defs.SkeletonReasonPin

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field py_type: Literal['app.bsky.feed.defs#skeletonReasonPin'] = 'app.bsky.feed.defs#skeletonReasonPin'
class atproto_client.models.app.bsky.feed.defs.SkeletonReasonRepost

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field py_type: Literal['app.bsky.feed.defs#skeletonReasonRepost'] = 'app.bsky.feed.defs#skeletonReasonRepost'
field repost: str [Required]

Repost.

class atproto_client.models.app.bsky.feed.defs.ThreadViewPost

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field parent: ThreadViewPost | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost[models.AppBskyFeedDefs.ThreadViewPost | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost] | None = None
field post: models.AppBskyFeedDefs.PostView [Required]

Post.

field py_type: Literal['app.bsky.feed.defs#threadViewPost'] = 'app.bsky.feed.defs#threadViewPost'
field replies: List[ThreadViewPost | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost[models.AppBskyFeedDefs.ThreadViewPost | models.AppBskyFeedDefs.NotFoundPost | models.AppBskyFeedDefs.BlockedPost]] | None = None
class atproto_client.models.app.bsky.feed.defs.ThreadgateView

Bases: ModelBase

Definition model for app.bsky.feed.defs.

field cid: str | None = None

Cid.

field lists: List[models.AppBskyGraphDefs.ListViewBasic] | None = None

Lists.

field py_type: Literal['app.bsky.feed.defs#threadgateView'] = 'app.bsky.feed.defs#threadgateView'
field record: UnknownType | None = None

Record.

field uri: str | None = None

Uri.

class atproto_client.models.app.bsky.feed.defs.ViewerState

Bases: ModelBase

Definition model for app.bsky.feed.defs. Metadata about the requesting account’s relationship with the subject content. Only has meaningful content for authed requests.

field embedding_disabled: bool | None = None

Embedding disabled.

field like: str | None = None

Like.

field pinned: bool | None = None

Pinned.

field py_type: Literal['app.bsky.feed.defs#viewerState'] = 'app.bsky.feed.defs#viewerState'
field reply_disabled: bool | None = None

Reply disabled.

field repost: str | None = None

Repost.

field thread_muted: bool | None = None

Thread muted.