From 715e8fd5c1ab7ec9ee8b656d67940bcd965f6e9c Mon Sep 17 00:00:00 2001 From: julien Date: Tue, 6 May 2025 16:59:20 +0200 Subject: [PATCH] rerereerre --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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'