## Update `messages.update(strmessage_id, MessageUpdateParams**kwargs) -> MessageUpdateResponse` **put** `/v1/chats/{chatID}/messages/{messageID}` Edit the text content of an existing message. Messages with attachments cannot be edited. ### Parameters - `chat_id: str` Unique identifier of the chat. - `message_id: str` - `text: str` New text content for the message ### Returns - `class MessageUpdateResponse: …` - `chat_id: str` Unique identifier of the chat. - `message_id: str` Message ID. - `success: bool` Whether the message was successfully edited ### Example ```python from beeper_desktop_api import BeeperDesktop client = BeeperDesktop() message = client.messages.update( message_id="messageID", chat_id="!NCdzlIaMjZUmvmvyHU:beeper.com", text="x", ) print(message.chat_id) ```