Actions78
- Conexão Actions
- Perfil Actions
- Mensagens Actions
- Grupos Actions
- Contatos Actions
- Comunidades Actions
- Chamadas Actions
- Webhooks Actions
- Fila e Jobs Actions
- Configurações Actions
- Integrações Actions
- Text to Speech Actions
- Estatísticas Actions
Mensagens → Excluir
AI-generatedSummary
Deletes a WhatsApp message sent by you or a contact.
Inputs
- jid (required) — WhatsApp number or group ID (e.g., 5511999999999 or 123456789@g.us).
- messageId (required) — The unique ID of the message to delete.
- fromMe — Whether the message was sent by you (true) or a contact (false). Defaults to true.
Output shape
A single record containing the API response.
Returns the result of the deletion request. If the message does not exist, the API may return an error.
Examples
Example 1: Delete a message you sent to a contact.
jid: 5511999999999, messageId: 3EB0..., fromMe: true
Example 2: Delete a message received in a group.
jid: 123456789@g.us, messageId: ABC12..., fromMe: false