MEGA icon

MEGA

Manage conversations, contacts, WhatsApp, Kanban CRM and Captain AI in MEGA

Actions417

Conversation → Edit Message

AI-generated

Summary

Edit the text content of an outgoing message within a specific conversation using the MEGA API. Only outgoing messages sent in the last 15 minutes through Evolution, WAHA, or UAZapi WhatsApp inboxes can be edited.

Inputs

  • Account (required) — Select the account to use for the operation, either from a searchable list or by specifying its ID.
  • Inbox (required) — Select the inbox associated with the conversation, either from a searchable list or by specifying its ID.
  • Conversation (required) — Select the conversation containing the message to edit, either from a searchable list or by specifying its ID.
  • Message (required) — Select the specific outgoing message within the conversation to edit, either from a searchable list or by specifying its numeric ID.
  • New Content (required) — Provide the replacement text content for the selected message.

Output shape

a JSON object representing the updated message as returned by the MEGA API after editing, including details such as message ID, updated content, and timestamps.

Editing is restricted to outgoing messages sent within the last 15 minutes via specific WhatsApp inbox types (Evolution, WAHA, or UAZapi). If the message does not meet these criteria, the edit operation may fail. The response returns the updated message object.

Links

Discussion