Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 1.45 KB

File metadata and controls

51 lines (35 loc) · 1.45 KB

WhatsAppTemplateButton

Properties

Name Type Description Notes
type TypeEnum
text String Visible button label. Required for all types except copy_code (whose label is fixed by WhatsApp). [optional]
url URI Required when type is URL [optional]
example Object [optional]
phoneNumber String Required when type is phone_number [optional]
otpType OtpTypeEnum Required when type is otp [optional]
autofillText String [optional]
packageName String [optional]
signatureHash String [optional]
flowId String [optional]
flowName String [optional]
flowJson String [optional]
flowAction String [optional]
navigateScreen String [optional]

Enum: TypeEnum

Name Value
QUICK_REPLY "quick_reply"
URL "url"
PHONE_NUMBER "phone_number"
OTP "otp"
COPY_CODE "copy_code"
FLOW "flow"
MPM "mpm"
CATALOG "catalog"

Enum: OtpTypeEnum

Name Value
COPY_CODE "copy_code"
ONE_TAP "one_tap"
ZERO_TAP "zero_tap"