This commit is contained in:
julien 2025-05-07 15:03:14 +02:00
parent ee5e806917
commit dd529bdfd2

View File

@ -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 } : {}
);