Interface InteractiveTextHeader

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.)

interface InteractiveTextHeader {
    text: string;
    type: "text";
}

Properties

Properties

text: string

Header text (≤ 60 chars).

type: "text"