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 {
phone, // ex: "33612345678"
imageUrl, // ex: "https://example.com/image.jpg"
caption, // ex: "Voici une image !"
quoted // optionnel : message auquel répondre
phone,
imageUrl,
caption,
quoted,
interactiveButtons = []
} = req.body;
if (!phone || !imageUrl) {