Typed WhatsApp interactive message payloads for messages.send({ interactive }).
Models the interactive types the Wabery API accepts — reply buttons,
single-select lists, cta_url link buttons, individual-only product
and catalog messages, Calling API permission requests, regional Payments API
order messages, and the location_request_message /
request_contact_info prompts. Shapes are flattened to
match the API wire format (buttons / sections / display_text at the top
level), not Meta's nested action envelope; messages.send forwards the
object verbatim. (For cta_url the API also accepts Meta's action envelope
verbatim, but the flattened form is canonical.)
Typed WhatsApp interactive message payloads for
messages.send({ interactive }).Models the interactive types the Wabery API accepts — reply buttons, single-select lists, cta_url link buttons, individual-only product and catalog messages, Calling API permission requests, regional Payments API order messages, and the location_request_message / request_contact_info prompts. Shapes are flattened to match the API wire format (
buttons/sections/display_textat the top level), not Meta's nestedactionenvelope;messages.sendforwards the object verbatim. (Forcta_urlthe API also accepts Meta'sactionenvelope verbatim, but the flattened form is canonical.)