Welcome!
What did you do?
Hi
I sent to my bot a simple text message: "Initial message"
i got the following event:
"data": {
"Info": {
"AddressingMode": "",
"BroadcastListOwner": "",
"BroadcastRecipients": null,
"Category": "",
"Chat": "xxx@s.whatsapp.net",
"DeviceSentMeta": null,
"Edit": "",
"ID": "AC9A902ED6D1458D0A9FB5C4023580E7",
"IsFromMe": false,
"IsGroup": false,
"MediaType": "",
"MsgBotInfo": {
"EditSenderTimestampMS": "0001-01-01T00:00:00Z",
"EditTargetID": "",
"EditType": ""
},
"MsgMetaInfo": {
"DeprecatedLIDSession": null,
"TargetChat": "",
"TargetID": "",
"TargetSender": "",
"ThreadMessageID": "",
"ThreadMessageSenderJID": ""
},
"Multicast": false,
"PushName": "Me",
"RecipientAlt": "",
"Sender": "xxx@s.whatsapp.net",
"SenderAlt": "zzz@lid",
"ServerID": 0,
"Timestamp": "2026-06-26T02:39:26-03:00",
"Type": "text",
"VerifiedName": null
},
"IsBotInvoke": false,
"IsDocumentWithCaption": false,
"IsEdit": false,
"IsEphemeral": false,
"IsLottieSticker": false,
"IsViewOnce": false,
"IsViewOnceV2": false,
"IsViewOnceV2Extension": false,
"Message": {
"conversation": "Initial message",
"messageContextInfo": {
"deviceListMetadata": {
"recipientKeyHash": "E2tyxX5XIVF3EQ==",
"recipientTimestamp": 1782449749,
"senderKeyHash": "pAUZ5sfkmTIHKA==",
"senderTimestamp": 1782063058
},
"deviceListMetadataVersion": 2,
"messageSecret": "mA5k/3jCDF8qB5WmVUnZtAuKEsY9z8e4Ja6mHpFmR/A="
}
},
"NewsletterMeta": null,
"RetryCount": 0,
"SourceWebMsg": null,
"UnavailableRequestID": ""
},
"event": "Message",
"instanceId": "yyy",
"instanceName": "test",
"instanceToken": "yyy"
}
then the sender edited the message to "Edited message" and i got the following message event webhook:
"data": {
"Info": {
"AddressingMode": "",
"BroadcastListOwner": "",
"BroadcastRecipients": null,
"Category": "",
"Chat": "xxx@s.whatsapp.net",
"DeviceSentMeta": null,
"Edit": "1",
"ID": "AC1A92123AFBE559D5F9A4B302CF6C7F",
"IsFromMe": false,
"IsGroup": false,
"MediaType": "",
"MsgBotInfo": {
"EditSenderTimestampMS": "0001-01-01T00:00:00Z",
"EditTargetID": "",
"EditType": ""
},
"MsgMetaInfo": {
"DeprecatedLIDSession": null,
"TargetChat": "",
"TargetID": "",
"TargetSender": "",
"ThreadMessageID": "",
"ThreadMessageSenderJID": ""
},
"Multicast": false,
"PushName": "Me",
"RecipientAlt": "",
"Sender": "xxx@s.whatsapp.net",
"SenderAlt": "zzz@lid",
"ServerID": 0,
"Timestamp": "2026-06-26T02:39:33-03:00",
"Type": "text",
"VerifiedName": null
},
"IsBotInvoke": false,
"IsDocumentWithCaption": false,
"IsEdit": false,
"IsEphemeral": false,
"IsLottieSticker": false,
"IsViewOnce": false,
"IsViewOnceV2": false,
"IsViewOnceV2Extension": false,
"Message": {
"messageContextInfo": {
"deviceListMetadata": {
"recipientKeyHash": "E2tyxX5XIVF3EQ==",
"recipientTimestamp": 1782449749,
"senderKeyHash": "pAUZ5sfkmTIHKA==",
"senderTimestamp": 1782063058
},
"deviceListMetadataVersion": 2
},
"secretEncryptedMessage": {
"encIV": "+LyXMWj3ktXD7Bsa",
"encPayload": "IH6QaddsawnKQf726+G4S4gWWzhDivIQ737Rd4RpsB3lC2zYUkCP61hC/1ih37pDYuDTR5dKVJ1PM7ctir9rFcc6ePro6RBok3e3CwcCNdhHwb+V1dj09QkOZIHWigfTeKGMKjw7jAI+yxlTlPGJCPTG9VghlUsRV4MSmz5dQZMDH8CHpVmKmb+M0yKi",
"secretEncType": 2,
"targetMessageKey": {
"ID": "AC9A902ED6D1458D0A9FB5C4023580E7",
"fromMe": true,
"remoteJID": "zzz@lid"
}
}
},
"NewsletterMeta": null,
"RetryCount": 0,
"SourceWebMsg": null,
"UnavailableRequestID": ""
},
"event": "Message",
"instanceId": "yyy",
"instanceName": "test",
"instanceToken": "yyy"
}
the first problem i see here is that property isEdit=false
i guess i could identify it's an edit event by looking at the enum "Edit": "1"
the second problem is that i cannot see the new text value "Edited message", i see only an encrypted message that i'm not sure how to decrtypt while on Evolution API i was used to see the edited text value in the event
then the message was deleted for everyone and i got the following message event:
"data": {
"Info": {
"AddressingMode": "",
"BroadcastListOwner": "",
"BroadcastRecipients": null,
"Category": "",
"Chat": "xxx@s.whatsapp.net",
"DeviceSentMeta": null,
"Edit": "7",
"ID": "ACDD174F636231E68B8D95EA87DE51FB",
"IsFromMe": false,
"IsGroup": false,
"MediaType": "",
"MsgBotInfo": {
"EditSenderTimestampMS": "0001-01-01T00:00:00Z",
"EditTargetID": "",
"EditType": ""
},
"MsgMetaInfo": {
"DeprecatedLIDSession": null,
"TargetChat": "",
"TargetID": "",
"TargetSender": "",
"ThreadMessageID": "",
"ThreadMessageSenderJID": ""
},
"Multicast": false,
"PushName": "Me",
"RecipientAlt": "",
"Sender": "xxx@s.whatsapp.net",
"SenderAlt": "zzz@lid",
"ServerID": 0,
"Timestamp": "2026-06-26T02:39:38-03:00",
"Type": "text",
"VerifiedName": null
},
"IsBotInvoke": false,
"IsDocumentWithCaption": false,
"IsEdit": false,
"IsEphemeral": false,
"IsLottieSticker": false,
"IsViewOnce": false,
"IsViewOnceV2": false,
"IsViewOnceV2Extension": false,
"Message": {
"messageContextInfo": {
"deviceListMetadata": {
"recipientKeyHash": "E2tyxX5XIVF3EQ==",
"recipientTimestamp": 1782449749,
"senderKeyHash": "pAUZ5sfkmTIHKA==",
"senderTimestamp": 1782063058
},
"deviceListMetadataVersion": 2
},
"protocolMessage": {
"key": {
"ID": "AC9A902ED6D1458D0A9FB5C4023580E7",
"fromMe": true,
"remoteJID": "zzz@lid"
},
"type": 0
}
},
"NewsletterMeta": null,
"RetryCount": 0,
"SourceWebMsg": null,
"UnavailableRequestID": ""
},
"event": "Message",
"instanceId": "yyy",
"instanceName": "test",
"instanceToken": "yyy"
}
i can only assume that it's a delete event by looking at the enum "Edit": "7" or "type": 0 while on evolution api it was more explicit by mentioning something with revoke
What did you expect?
- clearer indications of event types such as deleted/edited
- actual new value when edited
What did you observe instead of what you expected?
mentioned in issue
Screenshots/Videos
No response
Which version are you using?
0.7.0
What is your environment?
Docker
If applicable, paste the log output
No response
Additional Notes
No response
Welcome!
What did you do?
Hi
I sent to my bot a simple text message: "Initial message"
i got the following event:
then the sender edited the message to "Edited message" and i got the following message event webhook:
the first problem i see here is that property isEdit=false
i guess i could identify it's an edit event by looking at the enum "Edit": "1"
the second problem is that i cannot see the new text value "Edited message", i see only an encrypted message that i'm not sure how to decrtypt while on Evolution API i was used to see the edited text value in the event
then the message was deleted for everyone and i got the following message event:
i can only assume that it's a delete event by looking at the enum "Edit": "7" or "type": 0 while on evolution api it was more explicit by mentioning something with revoke
What did you expect?
What did you observe instead of what you expected?
mentioned in issue
Screenshots/Videos
No response
Which version are you using?
0.7.0
What is your environment?
Docker
If applicable, paste the log output
No response
Additional Notes
No response