CtaUrlPayload
Defined in: src/types/messages.ts:248
Options for MessagesResource.sendInteractiveCtaUrl.
Properties
Section titled “Properties”body:
string
Defined in: src/types/messages.ts:250
Body text shown above the call-to-action button.
displayText
Section titled “displayText”displayText:
string
Defined in: src/types/messages.ts:252
Visible label of the call-to-action button.
footer?
Section titled “footer?”
optionalfooter?:string
Defined in: src/types/messages.ts:258
Optional footer text.
header?
Section titled “header?”
optionalheader?:InteractiveHeader
Defined in: src/types/messages.ts:256
Optional header: a plain string (text) or a structured text/media header.
url:
string
Defined in: src/types/messages.ts:254
URL the button opens.
Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.