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 {
|
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) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user