app.bsky.feed.generator

class atproto_client.models.app.bsky.feed.generator.CreateRecordResponse

Bases: SugarResponseModelBase

Create record response for models.AppBskyFeedGenerator.Record.

field cid: str [Required]

The CID of the record.

field uri: str [Required]

The URI of the record.

class atproto_client.models.app.bsky.feed.generator.GetRecordResponse

Bases: SugarResponseModelBase

Get record response for models.AppBskyFeedGenerator.Record.

field cid: str | None = None

The CID of the record.

field uri: str [Required]

The URI of the record.

field value: models.AppBskyFeedGenerator.Record [Required]

The record.

class atproto_client.models.app.bsky.feed.generator.ListRecordsResponse

Bases: SugarResponseModelBase

List records response for models.AppBskyFeedGenerator.Record.

field cursor: str | None = None

Next page cursor.

field records: Dict[str, models.AppBskyFeedGenerator.Record] [Required]

Map of URIs to records.

class atproto_client.models.app.bsky.feed.generator.Record

Bases: RecordModelBase

Record model for app.bsky.feed.generator.

field accepts_interactions: bool | None = None
field avatar: BlobRef | None = None

Avatar.

field created_at: str [Required]

Created at.

Constraints:
  • func = <function only_validate_if_strict.<locals>.wrapper at 0x7f7d65a12820>

  • json_schema_input_type = PydanticUndefined

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.

Constraints:
  • func = <function only_validate_if_strict.<locals>.wrapper at 0x7f7d65a12160>

  • json_schema_input_type = PydanticUndefined

field display_name: str [Required]

Display name.

Constraints:
  • max_length = 240

field labels: SelfLabels[models.ComAtprotoLabelDefs.SelfLabels] | None = None
field py_type: Literal['app.bsky.feed.generator'] = 'app.bsky.feed.generator'