Skip to content

FlowPayload

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

Options for MessagesResource.sendInteractiveFlow.

body: string

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

Body text shown above the flow button.


optional flowAction?: string

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

Flow action, e.g. navigate or data_exchange.


optional flowActionPayload?: Record<string, unknown>

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

Payload passed to the first screen when flowAction is navigate.


flowCta: string

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

Visible label of the button that opens the flow.


optional flowId?: string

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

Identifier of the published flow.


optional flowName?: string

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

Name of the published flow (alternative to flowId).


optional flowToken?: string

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

Opaque token echoed back on flow completion.


optional footer?: string

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

Optional footer text.


optional header?: InteractiveHeader

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

Optional header: a plain string (text) or a structured text/media header.


optional mode?: string

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

Flow mode, e.g. draft or published.

Independent open-source project. Not affiliated with, endorsed by or sponsored by Meta or WhatsApp. Released under the MIT licence. Source on GitHub.