app.bsky.embed.video¶
- class atproto_client.models.app.bsky.embed.video.Caption¶
Bases:
ModelBase
Definition model for
app.bsky.embed.video
.- field lang: str [Required]¶
Lang.
- field py_type: Literal['app.bsky.embed.video#caption'] = 'app.bsky.embed.video#caption'¶
- class atproto_client.models.app.bsky.embed.video.Main¶
Bases:
ModelBase
Definition model for
app.bsky.embed.video
.- field alt: str | None = None¶
Alt text description of the video, for accessibility.
- Constraints:
max_length = 10000
- field aspect_ratio: models.AppBskyEmbedDefs.AspectRatio | None = None¶
Aspect ratio.
Captions.
- Constraints:
max_length = 20
- field py_type: Literal['app.bsky.embed.video'] = 'app.bsky.embed.video'¶
- class atproto_client.models.app.bsky.embed.video.View¶
Bases:
ModelBase
Definition model for
app.bsky.embed.video
.- field alt: str | None = None¶
Alt.
- Constraints:
max_length = 10000
- field aspect_ratio: models.AppBskyEmbedDefs.AspectRatio | None = None¶
Aspect ratio.
- field cid: str [Required]¶
Cid.
- field playlist: str [Required]¶
Playlist.
- field py_type: Literal['app.bsky.embed.video#view'] = 'app.bsky.embed.video#view'¶
- field thumbnail: str | None = None¶
Thumbnail.