WhatsApp Web API (WWebJS) icon

WhatsApp Web API (WWebJS)

Interact with WhatsApp Web API via WWebJS — send messages, manage sessions, chats, groups, contacts and channels

Message → Edit

AI-generated

Summary

Edit an existing WhatsApp message

Inputs

  • sessionId (required) — Session identifier. Select from the list or use an expression. Falls back to credentials default if empty.
  • chatId (required) — The chat ID that contains the message
  • messageId (required) — Unique WhatsApp identifier for the message
  • editContent (required) — The new text content for the message

Output shape

a single edited message object (the updated message payload)

The response includes the updated message details such as id, timestamp, and type; success is indicated by the presence of the message object.

Examples

Example 1: Update the text of a previously sent message

sessionId=Default, chatId=34612345678@c.us, messageId=true_34612345678@c.us_ABCDEF999, editContent=Hello world updated

Links

Discussion