diff --git a/index.js b/index.js index 348dc2f..a9617d9 100644 --- a/index.js +++ b/index.js @@ -146,7 +146,8 @@ app.post('/sendInteractiveImage', async (req, res) => { // On donne simplement l'URL, Baileys s'en charge imageMessage: { url: imageUrl }, title: 'Igna', // facultatif - subtitle: 'test' // facultatif + subtitle: 'test' , // facultatif + hasMediaAttachment: true }), body: proto.Message.InteractiveMessage.Body.create({ text: caption || 'Description par défaut'