A set of images embedded in a Bluesky record (eg, a post).
Object schema app.bsky.embed.images##image.
Fields
alt: Alt text description of the image, for accessibility.aspect_ratio: refapp.bsky.embed.defs#aspectRatioimage: The raw image file. May be up to 2 MB, formerly limited to 1 MB.
Summary
Functions
Decode a wire-format map. Delegates to new/1.
Build and validate from a map of attrs (atom or wire string keys).
Build and validate, raising ArgumentError on error.
Encode to the wire-format map.
The lexicon type ID (nsid or nsid#def) this module was generated from.
Types
@type t() :: %Exosphere.Bsky.Embed.Images.Image{ alt: String.t(), aspect_ratio: Exosphere.Bsky.Embed.Defs.AspectRatio.t() | nil, extra: term(), image: term() }
Functions
Decode a wire-format map. Delegates to new/1.
Build and validate from a map of attrs (atom or wire string keys).
Unknown keys are kept in extra and re-emitted by to_map/1.
Build and validate, raising ArgumentError on error.
Encode to the wire-format map.
@spec type_id() :: String.t()
The lexicon type ID (nsid or nsid#def) this module was generated from.