EvozappGO icon

EvozappGO

EvozappGO (api.evozapp.com) - Mensagens, Grupos e CRM

Opções de Mensagem → Deletar Mensagem

AI-generated

Summary

Delete a message from a chat using the specified Message ID and Chat ID, optionally deleting it for everyone in the chat.

Inputs

  • Message ID (required) — The unique identifier of the message to be deleted.
  • Chat ID (required) — The identifier of the chat where the message resides, e.g., '5511999999999@s.whatsapp.net' or a group ID ending with '@g.us'.
  • For Everyone (required) — Boolean flag indicating whether to delete the message for everyone in the chat or just for the user.

Output shape

a single response object containing the API's deletion status or confirmation JSON object.

The operation sends a DELETE request to the '/message/delete' API endpoint with the parameters 'messageId', 'chatId', and 'forEveryone'. The response from the API is returned as output.

Examples

Example 1: Delete a specific message for everyone in the chat

Provide 'messageId' with the target message's ID, 'chatId' with the chat's identifier, and set 'forEveryone' to true.

Links

Discussion