diff --git a/index.js b/index.js index 0dbd026..7cb1eb4 100644 --- a/index.js +++ b/index.js @@ -597,7 +597,6 @@ app.post('/sendImageWithBaileysPro', async (req, res) => { imageUrl, caption, quoted, - interactiveButtons = [] } = req.body; if (!phone || !imageUrl) { @@ -611,8 +610,8 @@ app.post('/sendImageWithBaileysPro', async (req, res) => { jid, { image: { url: imageUrl }, - caption: caption || '', - interactiveButtons + text: caption || '', + }, quoted ? { quoted } : {} );