Closed ehussain closed 10 months ago
@ehussain hi! just to make sure it doesn't work - you mentioned here https://github.com/devlikeapro/whatsapp-http-api/issues/209
We receive a delete webhook for messages sent by client (any incoming message)
Does it mean that message.any
covers message.delete
event case? Or I misunderstood it...
Hello @allburov .
I tested this morning only, we have subscribed to 'message.any' event but still we are not receiving any webhook for delete case. It seems I mistakenly wrote about delete webhook.
So as per my understanding and testing. I can say that neither 'delete' api is available nor we are receiving the delete webhook for any messages which is deleted by client.
Added new message.revoked
event in 2023.10.12
(Plus yet)
The message.revoked
event is triggered when a user, whether it be you or any other participant,
revokes a previously sent message.
{
"event": "message.ack",
"session": "default",
"payload": {
"before": {
"id": "some-id-here",
"timestamp": "some-timestamp-here",
"body": "Hi there!"
},
"after": {
"id": "some-id-here",
"timestamp": "some-timestamp-here",
"body": ""
}
}
}
Important notes:
message
event, it's a different id.after
object.before
field can be null in some cases.
Hello,
We would like to receive 'message.delete' ack event when someone deletes a message from their whatsapp phone. Event is important for us to know if sent message was deleted by user, and our system should get the webhook and should get updated of such actions.