Event triggered when someone reacts to a message.
Webhook Event: messages.reaction
Triggered when someone reacts to a message. The payload includes the reaction details and the message key.
See the code example below for the typical payload structure.
Code Examples
{
"event": "messages.reaction",
"timestamp": 1633456810,
"data": [
{
"key": {
"id": "message-id-123",
"fromMe": false,
"remoteJid": "+1234567890"
},
"reaction": {
"text": "👍", // The emoji reaction
"key": {
"id": "message-id-123",
"fromMe": false,
"remoteJid": "+1234567890"
}
}
}
]
}