Closed borsatti2 closed 1 month ago
Btw, also added the caption for all messages with captions to body
field, so it works the same way as for WEBJS engine
{
"event": "message",
"session": "default",
"payload": {
...
"body": "Check this out!", <<<<<<
"from": "11111111111@c.us",
"hasMedia": true,
"media": {
"url": "http://localhost:3000/api/files/true_11111111111@c.us_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA.jpg",
"mimetype": "image/jpeg",
"filename": null
},
...
}
}
I discovered a bug that I needed to fix urgently. When someone sends a document with caption, its type is "documentWithCaptionMessage" and it doesn't come with a URL or anything. So I can't access this file. Can you check this for us?![image](https://github.com/devlikeapro/whatsapp-http-api/assets/6342776/930114c6-d309-4ca7-9f0a-d93037691e30)