Inttegro.MessageTemplates.VariableItemType (inttegro v0.2.0)

Copy Markdown View Source

Values accepted for Variable Item Type in the MessageTemplates API.

Prefer the documented atoms returned by values/0. The type also accepts strings so a newer server value can be preserved by an older SDK instead of failing during decoding.

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

Types

t()

A variable item type atom or an unknown wire value preserved as a string.

Functions

Returns the documented Inttegro.MessageTemplates.VariableItemType atoms known by this SDK version.

Types

t()

@type t() ::
  :string
  | :number
  | :integer
  | :boolean
  | :url
  | :email
  | :phone
  | :date
  | :datetime
  | String.t()

A variable item type atom or an unknown wire value preserved as a string.

Functions

values()

@spec values() :: [t()]

Returns the documented Inttegro.MessageTemplates.VariableItemType atoms known by this SDK version.