Actions19
Message → Edit
AI-generatedSummary
Edit the text of an existing WhatsApp message.
Inputs
- jid (required) — The chat JID where the message is located (e.g., 447700900000@s.whatsapp.net or 120363316517167240@g.us).
- messageId (required) — The ID of the target message to edit.
- fromMe — Whether the target message was sent by you. Set to true to edit your own messages.
- newText (required) — The new message text. Only works on messages you sent within approximately 15 minutes.
Output shape
object
Returns the updated message object as provided by the WA Ops API (includes message ID, text, timestamp, etc.).
Examples
Example 1: Correct a typo in a sent message
Provide the JID of the chat, the message ID from a previous Get Messages step, set From Me to true, and supply the corrected text in New Text.