[Feature Request] Add - GET /api/{session}/chats/{chatId}/messages/{messageId}
/api/{session}/chats/{chatId}/messages/{messageId}?downloadMedia=true
If an attachment fails to download, I can obtain the attachment separately without using /api/{session}/chats/{chatId}/messages This will reduce the load on the server
makes sense, we'll check that! Do you use NOWEB, right?
NOWEB is used more, WEBJS is also used, because I think WEBJS can reduce the risk of being blocked But this function is applicable to both NOWEB and WEBJS. If I have this function, I may not actively download attachments anymore. I will only download them when I need to view them.
makes sense, we'll check that! Do you use NOWEB, right?
Hi, if I buy the PRO version, will this feature be updated soon? I really need this feature, if possible I will buy the PRO version
Hi! We're planning to work on /messages improvements (including this one) in October.
OK, looking forward to your updates, thank you
Added in 2024.10.9
https://waha.devlike.pro/docs/how-to/chats/#get-message-by-id
Get message by id
Get message by id
GET /api/{session}/chats/{chatId}/messages/{messageId}?downloadMedia=true
{
"id": "[email protected]_AAAAAA",
"timestamp": 1727745026,
"from": "[email protected]",
"fromMe": false,
"body": "I'm good!",
"hasMedia": false,
"ack": 3,
"ackName": "READ",
"replyTo": null,
"_data": {
... // Raw Engine Data
}
}
chatId- in format[email protected]messageId- must be in format{true|false}[email protected]_AAAAAAA)downloadMedia- download media files (images, files) or not