A representation of a record embedded in a Bluesky record (eg, a post), alongside other compatible embeds. For example, a quote post and image, or a quote post and external URL card.
Object schema app.bsky.embed.recordWithMedia.
Fields
media: unionrecord: refapp.bsky.embed.record
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.RecordWithMedia{ extra: term(), media: Exosphere.Bsky.Embed.Images.t() | Exosphere.Bsky.Embed.Video.t() | Exosphere.Bsky.Embed.Gallery.t() | Exosphere.Bsky.Embed.External.t() | map(), record: Exosphere.Bsky.Embed.Record.t() }
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.