An assortment of media embedded in a Bluesky record (eg, a post).
Object schema app.bsky.embed.gallery.
Fields
items: The schema-level maxLength of 20 is a future-proof ceiling. Clients should currently enforce a soft limit of 10 items in authoring UIs.
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.Gallery{ extra: term(), items: [Exosphere.Bsky.Embed.Gallery.Image.t() | map()] }
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.