TemplateParameter
Defined in: src/types/messages.ts:146
A single parameter inside a template component.
Properties
Section titled “Properties”currency?
Section titled “currency?”
optionalcurrency?:object
Defined in: src/types/messages.ts:153
amount_1000
Section titled “amount_1000”amount_1000:
number
code:
string
fallback_value
Section titled “fallback_value”fallback_value:
string
date_time?
Section titled “date_time?”
optionaldate_time?:object
Defined in: src/types/messages.ts:154
fallback_value
Section titled “fallback_value”fallback_value:
string
document?
Section titled “document?”
optionaldocument?:DocumentMedia
Defined in: src/types/messages.ts:152
image?
Section titled “image?”
optionalimage?:MediaSource
Defined in: src/types/messages.ts:150
payload?
Section titled “payload?”
optionalpayload?:string
Defined in: src/types/messages.ts:149
optionaltext?:string
Defined in: src/types/messages.ts:148
type:
"currency"|"text"|"date_time"|"image"|"video"|"document"|"payload"
Defined in: src/types/messages.ts:147
video?
Section titled “video?”
optionalvideo?:MediaSource
Defined in: src/types/messages.ts:151
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.