[feature] ability receive reactions in WEBJS session
Hello,
We are looking for ability to send a reactions via api. Also webhook option to receive the reaction when someone reacts on whatsapp.
We are looking for this options on WEBJS session.
Hi! Doesn't it work? PUT /api/reaction works on both WEBJS and NOWEB (at least it should)
https://waha.devlike.pro/docs/how-to/send-messages/#add-a-reaction-imagesversionscorepng
As I remember, you get new message event when you get a reaction on your message, but it's not certain.
Have you tested it with reactions?
Yes. I have tested. We are not receiving webhook for WEBJS version. I have tested with NOWEB and there we get webhook.
Receiving reaction is important feature that we are looking for.
I see, so the problem is only in receiving reactions, not in sending them, right? Just wanna understand the scope of the issue better
Hello @allburov
I have tested all 4 scenarios and here is update.
- WEBJS - sending reactions is working
- NOWEB - sending reactions is working
- NOWEB - receiving reactions is working 4. WEBJS - receiving reactions is not working - we are not receiving webhook for this case.
Thank you, appreciate the details!🙏
Hello @allburov approximately when this feature will be released?
Hi! Looking at how we can combine events from all engines to make some unique message.reaction event.
No estimation here yet
Hah, it's working now, idk when we added it https://waha.devlike.pro/docs/how-to/webhooks/#messagereaction
{
"event": "message.reaction",
"session": "default",
"me": {
"id": "[email protected]",
"pushName": "Sim2"
},
"payload": {
"id": "[email protected]_7AAAAAAAAAAAA",
"from": "[email protected]",
"fromMe": false,
"participant": "[email protected]",
"to": "[email protected]",
"timestamp": 1721294738.061,
"reaction": {
"text": "❤️",
"messageId": "[email protected]_BBBBBBBBBBB"
}
},
"engine": "WEBJS",
"environment": {
"version": "2024.7.5",
"engine": "WEBJS",
"tier": "PLUS",
"browser": "/usr/bin/google-chrome-stable"
}
}
Sorry for not closing the issue early