Represents Rendered data in the MessageTemplates API.
Inttegro decodes API responses into this struct. Required fields are always present;
optional fields are nil when they do not apply or were not returned. Follow the linked
types in t/0 for nested domain values.
Manages reusable email and SMS templates for Chimes.
Templates separate reviewed message content from recipient data supplied at send time. Render a preview before publishing, and treat safety results as part of the template lifecycle rather than as proof that a downstream carrier accepted a message.
Summary
Functions
Builds a Inttegro.MessageTemplates.Rendered and raises KeyError when a required field is missing.
Types
@type t() :: %Inttegro.MessageTemplates.Rendered{ attachments: [String.t()] | nil, channel: Inttegro.MessageTemplates.Channel.t(), email: Inttegro.MessageTemplates.RenderedEmail.t() | nil, sms: Inttegro.MessageTemplates.RenderedSMS.t() | nil }
The decoded rendered value.
Functions
Builds a Inttegro.MessageTemplates.Rendered and raises KeyError when a required field is missing.