A template recipient's header parameter.
TemplateHeader.text("Ada")
TemplateHeader.image("https://example.com/receipts/ZM-4821.png")
TemplateHeader.video("https://example.com/promo.mp4")
TemplateHeader.document("https://example.com/invoices/4821.pdf", "invoice-4821.pdf")A text header is sent as a JSON string, a media header as {"type", "url", "filename"?}. A
recipient may also give a plain string or a map in that shape.
Summary
Functions
A document header, with an optional file name shown to the recipient.
An image header.
A text header (the template's {{1}} in its header).
A video header.
Types
Functions
A document header, with an optional file name shown to the recipient.
An image header.
A text header (the template's {{1}} in its header).
A video header.