Actions50
- Account Actions
- Group Actions
- Journal Actions
- Queue Actions
- Sending Actions
- Service Actions
- Status Actions
- Receiving Actions
Service → editMessage
AI-generatedSummary
Edit a specified WhatsApp message in a chat.
Inputs
- chatId (required) — The chat identifier in the format '1234567890@c.us'.
- idMessage (required) — The identifier of the message you want to edit.
- message (required) — The new content of the message.
Output shape
no body — success/failure only
Returns a confirmation of the edit action; no data will be returned upon success.
Examples
Example 1: Edit the last message sent to a contact.
Set 'chatId' to '79000000000@c.us', 'idMessage' to the message ID of the last sent message, and 'message' to 'Updated message content.'.