dsdssdds
This commit is contained in:
parent
ee5e806917
commit
dd529bdfd2
5
index.js
5
index.js
@ -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 } : {}
|
||||||
);
|
);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user