## Update **put** `/v1/chats/{chatID}/messages/{messageID}` Edit the text content of an existing message. Messages with attachments cannot be edited. ### Path Parameters - `chatID: string` Unique identifier of the chat. - `messageID: string` ### Body Parameters - `text: string` New text content for the message ### Returns - `chatID: string` Unique identifier of the chat. - `messageID: string` Message ID. - `success: boolean` Whether the message was successfully edited ### Example ```http curl http://localhost:23373/v1/chats/$CHAT_ID/messages/$MESSAGE_ID \ -X PUT \ -H 'Content-Type: application/json' \ -d '{ "text": "x" }' ```