An attachment content block for binary content such as images, PDFs, and other media.
Sources use tagged tuples: {:base64, data} for inline binary data, or
{:url, url} for remotely-hosted content.
The :meta field is an application-layer map for data that Omni's dialects
do not read or send to providers — for example, filenames or display labels
in a UI.
Summary
Types
An attachment source — inline base64 data or a remote URL.
Binary content with a source, media type, and optional application metadata.
Functions
Creates a new attachment content block from a keyword list or map.
Types
An attachment source — inline base64 data or a remote URL.
Binary content with a source, media type, and optional application metadata.
Functions
@spec new(Enumerable.t()) :: t()
Creates a new attachment content block from a keyword list or map.