diff --git a/index.js b/index.js index 3afa44b..0dbd026 100644 --- a/index.js +++ b/index.js @@ -593,10 +593,11 @@ app.post('/sendImageWithBaileysPro', async (req, res) => { } const { - phone, // ex: "33612345678" - imageUrl, // ex: "https://example.com/image.jpg" - caption, // ex: "Voici une image !" - quoted // optionnel : message auquel répondre + phone, + imageUrl, + caption, + quoted, + interactiveButtons = [] } = req.body; if (!phone || !imageUrl) {