app.bsky.embed.images¶

class atproto_client.models.app.bsky.embed.images.Image¶

Bases: ModelBase

Definition model for app.bsky.embed.images.

field alt: str [Required]¶

Alt text description of the image, for accessibility.

field aspect_ratio: models.AppBskyEmbedDefs.AspectRatio | None = None¶

Aspect ratio.

field image: BlobRef [Required]¶

The raw image file. May be up to 2 MB, formerly limited to 1 MB.

field py_type: Literal['app.bsky.embed.images#image'] = 'app.bsky.embed.images#image'¶
class atproto_client.models.app.bsky.embed.images.Main¶

Bases: ModelBase

Definition model for app.bsky.embed.images.

field images: List[models.AppBskyEmbedImages.Image] [Required]¶

Images.

Constraints:
  • max_length = 4

field py_type: Literal['app.bsky.embed.images'] = 'app.bsky.embed.images'¶
class atproto_client.models.app.bsky.embed.images.View¶

Bases: ModelBase

Definition model for app.bsky.embed.images.

field images: List[models.AppBskyEmbedImages.ViewImage] [Required]¶

Images.

Constraints:
  • max_length = 4

field py_type: Literal['app.bsky.embed.images#view'] = 'app.bsky.embed.images#view'¶
class atproto_client.models.app.bsky.embed.images.ViewImage¶

Bases: ModelBase

Definition model for app.bsky.embed.images.

field alt: str [Required]¶

Alt text description of the image, for accessibility.

field aspect_ratio: models.AppBskyEmbedDefs.AspectRatio | None = None¶

Aspect ratio.

field fullsize: str [Required]¶

Fully-qualified URL where a large version of the image can be fetched. May or may not be the exact original blob. For example, CDN location provided by the App View.

Constraints:
field py_type: Literal['app.bsky.embed.images#viewImage'] = 'app.bsky.embed.images#viewImage'¶
field thumb: str [Required]¶

Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.

Constraints: