app.bsky.embed.images

class atproto_client.models.app.bsky.embed.images.AspectRatio

Bases: ModelBase

Definition model for app.bsky.embed.images. width:height represents an aspect ratio. It may be approximate, and may not correspond to absolute dimensions in any given unit.

field height: int [Required]

Height.

Constraints:
  • ge = 1

field py_type: Literal['app.bsky.embed.images#aspectRatio'] = 'app.bsky.embed.images#aspectRatio'
field width: int [Required]

Width.

Constraints:
  • ge = 1

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.AppBskyEmbedImages.AspectRatio | None = None

Aspect ratio.

field image: BlobRef [Required]

Image.

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.AppBskyEmbedImages.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.

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.