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, imageUrl,
caption, caption,
quoted, quoted,
interactiveButtons = []
} = req.body; } = req.body;
if (!phone || !imageUrl) { if (!phone || !imageUrl) {
@ -611,8 +610,8 @@ app.post('/sendImageWithBaileysPro', async (req, res) => {
jid, jid,
{ {
image: { url: imageUrl }, image: { url: imageUrl },
caption: caption || '', text: caption || '',
interactiveButtons
}, },
quoted ? { quoted } : {} quoted ? { quoted } : {}
); );