Skip to content

EditTemplatePayload

Defined in: src/types/templates.ts:232

Payload for TemplatesResource.edit. name and language are immutable and therefore not editable.

optional category?: TemplateCategory

Defined in: src/types/templates.ts:234

A new category, when changing it.


optional components?: MessageTemplateComponent[]

Defined in: src/types/templates.ts:236

Replacement components, when editing the template body/structure.


optional messageSendTtlSeconds?: number

Defined in: src/types/templates.ts:238

A new message send TTL, in seconds.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.