FlowPayload
Defined in: src/types/messages.ts:262
Options for MessagesResource.sendInteractiveFlow.
Properties
Section titled “Properties”body:
string
Defined in: src/types/messages.ts:264
Body text shown above the flow button.
flowAction?
Section titled “flowAction?”
optionalflowAction?:string
Defined in: src/types/messages.ts:274
Flow action, e.g. navigate or data_exchange.
flowActionPayload?
Section titled “flowActionPayload?”
optionalflowActionPayload?:Record<string,unknown>
Defined in: src/types/messages.ts:276
Payload passed to the first screen when flowAction is navigate.
flowCta
Section titled “flowCta”flowCta:
string
Defined in: src/types/messages.ts:266
Visible label of the button that opens the flow.
flowId?
Section titled “flowId?”
optionalflowId?:string
Defined in: src/types/messages.ts:270
Identifier of the published flow.
flowName?
Section titled “flowName?”
optionalflowName?:string
Defined in: src/types/messages.ts:272
Name of the published flow (alternative to flowId).
flowToken?
Section titled “flowToken?”
optionalflowToken?:string
Defined in: src/types/messages.ts:268
Opaque token echoed back on flow completion.
footer?
Section titled “footer?”
optionalfooter?:string
Defined in: src/types/messages.ts:282
Optional footer text.
header?
Section titled “header?”
optionalheader?:InteractiveHeader
Defined in: src/types/messages.ts:280
Optional header: a plain string (text) or a structured text/media header.
optionalmode?: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.