Skip to content

CtaUrlPayload

Defined in: src/types/messages.ts:248

Options for MessagesResource.sendInteractiveCtaUrl.

body: string

Defined in: src/types/messages.ts:250

Body text shown above the call-to-action button.


displayText: string

Defined in: src/types/messages.ts:252

Visible label of the call-to-action button.


optional footer?: string

Defined in: src/types/messages.ts:258

Optional footer text.


optional header?: 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.