Description
This event is triggered when a message sent by the current user is revoked (deleted for everyone).
Webhook Request
HTTP Method
POST
Request Headers
Name | Value |
---|---|
Content-Type | application/json |
User-Agent | WaAPI Webhook User Agent |
Request Body
{
"event": "message_revoke_me",
"instanceId": "1",
"data": {
"message": {
"_data": {
"id": {
"fromMe": true,
"remote": "123456789@c.us",
"id": "AAABBBCCCDDDEEEFFF111222333",
"_serialized": "true_123456789@c.us_AAABBBCCCDDDEEEFFF111222333"
},
"viewed": false,
"body": "sample message",
"type": "chat",
"t": 1738927728,
"notifyName": "test user",
"from": "987654321@c.us",
"to": "123456789@c.us",
"author": "987654321@c.us",
"ack": 3,
"invis": false,
"isNewMsg": true,
"star": false,
"kicNotified": false,
"recvFresh": true,
"isFromTemplate": false,
"pollInvalidated": false,
"isSentCagPollCreation": false,
"latestEditMsgKey": null,
"latestEditSenderTimestampMs": null,
"mentionedJidList": [],
"groupMentions": [],
"isEventCanceled": false,
"eventInvalidated": false,
"isVcardOverMmsDocument": false,
"isForwarded": false,
"hasReaction": false,
"viewMode": "VISIBLE",
"messageSecret": {
"0": 111,
"1": 222,
"2": 44,
"3": 66,
"4": 55,
"5": 111,
"6": 122,
"7": 333,
"8": 125,
"9": 87,
"10": 63,
"11": 71,
"12": 236,
"13": 33,
"14": 117,
"15": 163,
"16": 94,
"17": 212,
"18": 94,
"19": 136,
"20": 214,
"21": 149,
"22": 118,
"23": 86,
"24": 114,
"25": 228,
"26": 177,
"27": 31,
"28": 214,
"29": 86,
"30": 35,
"31": 96
},
"productHeaderImageRejected": false,
"lastPlaybackProgress": 0,
"isDynamicReplyButtonsMsg": false,
"isCarouselCard": false,
"parentMsgId": null,
"callSilenceReason": null,
"isVideoCall": false,
"isMdHistoryMsg": false,
"stickerSentTs": 0,
"isAvatar": false,
"lastUpdateFromServerTs": 0,
"invokedBotWid": null,
"bizBotType": null,
"botResponseTargetId": null,
"botPluginType": null,
"botPluginReferenceIndex": null,
"botPluginSearchProvider": null,
"botPluginSearchUrl": null,
"botPluginSearchQuery": null,
"botPluginMaybeParent": false,
"botReelPluginThumbnailCdnUrl": null,
"botMsgBodyType": null,
"requiresDirectConnection": false,
"bizContentPlaceholderType": null,
"hostedBizEncStateMismatch": false,
"senderOrRecipientAccountTypeHosted": false,
"placeholderCreatedWhenAccountIsHosted": false,
"links": []
},
"id": {
"fromMe": true,
"remote": "123456789@c.us",
"id": "AAABBBCCCDDDEEEFFF111222333",
"_serialized": "true_123456789@c.us_AAABBBCCCDDDEEEFFF111222333"
},
"ack": 3,
"hasMedia": false,
"body": "sample message",
"type": "chat",
"timestamp": 1738927728,
"from": "987654321@c.us",
"to": "123456789@c.us",
"author": "987654321@c.us",
"deviceType": "ios",
"isForwarded": false,
"forwardingScore": 0,
"isStatus": false,
"isStarred": false,
"fromMe": true,
"hasQuotedMsg": false,
"hasReaction": false,
"vCards": [],
"mentionedIds": [],
"groupMentions": [],
"isGif": false,
"links": []
}
}
}