v1

latestOpenAPI 3.0.3raw.githubusercontent.com2024-06-11720209.3 KB
Chat Controller

Delete Message For Everyone

Delete Message For Everyone

delete/chat/deleteMessageForEveryone/{instance}

Path parameters

instancestring required

ID of the instance to connect

Request body

idstring required

Message ID

remoteJidstring required

Chat contact or group remote JID

fromMeboolean required

If the message was sent by the instance owner or the contact

participantstring

Participant for group messages only TODO

Response

Created

messageTimestampstring

The timestamp of the message, represented as a string.

statusstring

The status of the message, such as sent, received, or pending.

Example response

{
  "key": {
    "remoteJid": "553198296801@s.whatsapp.com",
    "fromMe": true,
    "id": "BAE5EABBD912C4E2"
  },
  "message": {
    "protocolMessage": {
      "key": {
        "remoteJid": "553198296801@s.whatsapp.com",
        "fromMe": true,
        "id": "BAE52B567D0E3DD8"
      },
      "type": "REVOKE"
    }
  },
  "messageTimestamp": "1718108455",
  "status": "PENDING"
}