app.bsky.embed.gallery
Gallery.
- class atproto_client.models.app.bsky.embed.gallery.Main
Bases:
ModelBaseDefinition model for
app.bsky.embed.gallery.- field items: List[models.AppBskyEmbedGallery.Image | DotDict] [Required]
The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs. The media items in the gallery. Each item may be of a different type, but all types must be supported by the client.
- Constraints:
max_length = 20
- class atproto_client.models.app.bsky.embed.gallery.Image
Bases:
ModelBaseDefinition model for
app.bsky.embed.gallery.- field alt: str [Required]
Alt text description of the image, for accessibility.
- field aspect_ratio: models.AppBskyEmbedDefs.AspectRatio [Required]
Aspect ratio.
- field image: BlobRef [Required]
Image.
- class atproto_client.models.app.bsky.embed.gallery.View
Bases:
ModelBaseDefinition model for
app.bsky.embed.gallery.- field items: List[models.AppBskyEmbedGallery.ViewImage | DotDict] [Required]
Items.
- class atproto_client.models.app.bsky.embed.gallery.ViewImage
Bases:
ModelBaseDefinition model for
app.bsky.embed.gallery.- field alt: str [Required]
Alt text description of the image, for accessibility.
- field aspect_ratio: models.AppBskyEmbedDefs.AspectRatio [Required]
Aspect ratio.
- field fullsize: Uri [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 thumbnail: Uri [Required]
Fully-qualified URL where a thumbnail of the image can be fetched. For example, CDN location provided by the App View.