Annotation of a sub-string within rich text.
Object schema app.bsky.richtext.facet.
Fields
features: arrayindex: ref#byteSlice
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.Richtext.Facet{ extra: term(), features: [ Exosphere.Bsky.Richtext.Facet.Mention.t() | Exosphere.Bsky.Richtext.Facet.Link.t() | Exosphere.Bsky.Richtext.Facet.Tag.t() | map() ], index: Exosphere.Bsky.Richtext.Facet.ByteSlice.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.