MailTemplateVariable
The MailTemplateVariable type of the TypeScript SDK, part of MailTemplateRender.
type MailTemplateVariable = {
bodies: ('subject' | 'text' | 'html')[]
description: string | null
filledFromSample: boolean
name: string
sample: string | number | boolean | null
}Fields
| Field | Type | Description |
|---|---|---|
bodies | ('subject' | 'text' | 'html')[] | Which fields reference it |
description | string | null | |
filledFromSample | boolean | True when the preview's sample stood in for a value not passed |
name | string | |
sample | string | number | boolean | null |