Chat Controller

Delete Message For Everyone

Changed on

Delete Message For Everyone

delete/chat/deleteMessageForEveryone/{instance}

Request

  • Base URL
    https://evolution-example
  • URL
    https://evolution-example/chat/deleteMessageForEveryone/{instance}
  • Auth
    API key in header apikey

Path parameters

instancestring required

Name instance

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"
}

Changes

    • breaking

      removed the success response with the status

    • info

      api operation id deleteMessageForEveryone was added

    • info

      the endpoint scheme security ApiKeyAuth was added to the API

    • info

      api tag Chat Controller added

    • info

      api tag Chat removed

    • info

      added optional request body

    • info

      added the success response with the status

    • breaking

      removed the request body

    • breaking

      removed the success response with the status

    • info

      api operation id deleteMessageForEveryone removed and replaced with

    • info

      the endpoint scheme security ApiKeyAuth was removed from the API

    • info

      api tag Chat added

    • info

      api tag Chat Controller removed

    • info

      added the success response with the status