Actions61
- Instância Actions
- Mensagem Actions
- Grupo Actions
- Perfil Actions
- Privacidade Actions
- Utilidades Actions
- SMS Actions
- Central de Ligações Actions
Mensagem → Editar Mensagem
AI-generatedSummary
Edit a previously sent WhatsApp message to a specified recipient or group using the PAPI WhatsApp API instance.
Inputs
- ID da Instância (required) — The WhatsApp instance ID to use for the API call.
- Número/JID (required) — The recipient's phone number with country code (DDI) or the JID of a WhatsApp group.
- ID da Mensagem (required) — The ID of the message to be edited.
- Novo Texto (required) — The new text content to replace the original message text.
Output shape
a single JSON object reflecting the API response to the edit message request
The output includes the API's response JSON. Errors may be returned if the instance is not connected, the message ID is invalid, or authorization fails. The operation updates the text of the specified message on WhatsApp.
Examples
Example 1: Edit message text
Provide the WhatsApp instance ID, recipient's phone number or group JID, the target message ID, and the new text to update the message content.
