sddssdsd
This commit is contained in:
parent
6efafc4997
commit
ee5e806917
9
index.js
9
index.js
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user