Baileys API icon

Baileys API

Interact with Baileys API Manager

Chat → Editar Mensagem

AI-generated

Summary

Edits a message in a chat via the Baileys API.

Inputs

  • instanceName (required) — Digite o nome da instância
  • remoteJid (required) — Número do contato
  • messageId (required) — ID da mensagem que será editada
  • text (required) — Novo texto da mensagem

Output shape

Array of JSON objects returned by the Evolution API representing the updated message.

All four parameters are required. The operation maps to 'update-message' in the Baileys/Evolution API integration. Authentication requires the 'baileysApi' credential.

Examples

Example 1: Update a sent message's text in a specific chat.

Set instance name, recipient contact, the message ID to replace, and the new text content.

Discussion