salman0ansari / whatsapp-api-nodejs

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

PDF file get empty value for base64 #768

Closed xinkyo closed 1 year ago

xinkyo commented 1 year ago

I set WEBHOOK_BASE64=true when device sent the PDF file, in the webhook get the base64 content is empty: msgContent' => ''

for image and video i tested, they are ok.

salman0ansari commented 1 year ago

add documentMessage here https://github.com/salman0ansari/whatsapp-api-nodejs/blob/dc87691ec5a91263c1538fd576fac7333ee9e035/src/api/class/instance.js#L275