💬 Chats

Edits a message in the chat

put/api/{session}/chats/{chatId}/messages/{messageId}

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/chats/{chatId}/messages/{messageId}
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

chatIdstring required
Example:123456789@c.us

Chat ID

messageIdstring required
Example:true_123456789@c.us_BAE6A33293978B16

Message ID in format <code>{fromMe}{chat}{message_id}[_{participant}]</code>

Request body

textstring required
linkPreviewboolean
linkPreviewHighQualityboolean

Changes

No recorded changes to this operation across all 1 revision of this API.