This commit is contained in:
julien 2025-05-07 14:50:11 +02:00
parent 6efafc4997
commit ee5e806917

View File

@ -593,10 +593,11 @@ app.post('/sendImageWithBaileysPro', async (req, res) => {
} }
const { const {
phone, // ex: "33612345678" phone,
imageUrl, // ex: "https://example.com/image.jpg" imageUrl,
caption, // ex: "Voici une image !" caption,
quoted // optionnel : message auquel répondre quoted,
interactiveButtons = []
} = req.body; } = req.body;
if (!phone || !imageUrl) { if (!phone || !imageUrl) {