An attachment on a received ntfy message.
For server-hosted uploads all five fields are set; for attach-by-URL messages
only name and url are present.
Summary
Functions
Builds an attachment from a decoded JSON map.
Types
@type t() :: %ExNtfy.Attachment{ expires: integer() | nil, name: String.t(), size: non_neg_integer() | nil, type: String.t() | nil, url: String.t() }