salman0ansari / whatsapp-api-nodejs

RESTful WhatsApp API with Multiple Device Support
GNU General Public License v3.0
1.27k stars 606 forks source link

[MD] Link Preview not generating #26

Closed manojsitapara closed 2 years ago

manojsitapara commented 2 years ago

In SendMessage endpoint, if the message parameter contains a link, it is not generating link preview in the older version it was generating automatically. I think there are some changes in Baily v4.0

salman0ansari commented 2 years ago

but Baileys docs says this // will detect links & generate a link preview automatically (default true) detectLinks: true

manojsitapara commented 2 years ago

Yes but it is not generating, I think it need to use externalAdReply

salman0ansari commented 2 years ago

Whatsapp web MD dont have link preview yet