Type alias ClientMessageRequest

ClientMessageRequest: {
    context?: {
        message_id: string;
    };
    messaging_product: "whatsapp";
    recipient_type?: "individual";
    to: string;
} & ({
    text?: string;
    type: "text";
} | {
    audio?: string;
    type: "audio";
} | {
    document?: string;
    type: "document";
} | {
    image?: string;
    type: "image";
} | {
    sticker?: string;
    type: "sticker";
} | {
    type: "video";
    video?: string;
} | {
    location?: string;
    type: "location";
} | {
    contacts?: string;
    type: "contacts";
} | {
    interactive?: string;
    type: "interactive";
} | {
    template?: string;
    type: "template";
} | {
    reaction?: string;
    type: "reaction";
})

Generated using TypeDoc