[BUG][WEBJS] - READ message.ack event on Group messages
+1
webjs changes the message.ack but doesn't fire the issue.
The possible solution would be to request a message after a while to check the message.ack via GET /api/{session}/chats/{chatId}/messages/{messageId} (not ready yet https://github.com/devlikeapro/waha/issues/484)
We'll research the issue with ack a bit later
Hi!
Added message.ack support for Groups and Status in WEBJS in 2025.4.2
Now you should receive the events
also added message._data.receipts in 💬 Chats - Get message by id so you can check the ack (for groups and status messages only)
{
"delivery": [
{
"id": {
"server": "c.us",
"user": "111111111111",
"_serialized": "[email protected]"
},
"t": 1746409561
}
],
"read": [
{
"id": {
"server": "c.us",
"user": "333333333333",
"_serialized": "[email protected]"
},
"t": 1746409580
}
],
"deliveryRemaining": 0,
"played": [],
"playedRemaining": 2
}
⚠️ ⚠️ ⚠️ ⚠️ ⚠️
WEBJS - Starting from 2025.8.3 version you must add config.webjs.tagsEventsOn to session config to enable message.ack event for WEBJS
⚠️ ⚠️ ⚠️ ⚠️ ⚠️
https://waha.devlike.pro/docs/how-to/sessions/#webjs
tagsEventsOn— Enable emission of specialtag:*engine 🔄 Events - required forpresence.updateandmessage.ack.
{
"name": "default",
"config": {
"webjs": {
"tagsEventsOn": false
}
}
}
Hello! About tagsEventsOn...
Is there any way to enable it through WAHA’s global environment variables?
In my use case, I spin up a container with a session already started programmatically using WHATSAPP_START_SESSION, so it would be important for that session to start with tagsEventsOn = true.
Portuguese
Olá! Sobre tagsEventosOn...
Existe alguma maneira de habilitá-lo através das variáveis ambientais globais da WAHA?
No meu caso de uso, eu abro um contêiner com uma sessão já iniciada programaticamente usando WHATSAPP_START_SESSION, então seria importante que essa sessão iniciasse com tagsEventsOn = true.