TemplateButton
TemplateButton =
TemplateQuickReplyButton|TemplateUrlButton|TemplatePhoneNumberButton|TemplateCopyCodeButton|TemplateUnknownButton
Defined in: src/types/templates.ts:156
A template button. The union is intentionally open: OTP, MPM, CATALOG, FLOW and other button shapes fall through to TemplateUnknownButton rather than failing type-checking.
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.