## Update `$client->messages->update(string messageID, string chatID, string text): MessageUpdateResponse` **put** `/v1/chats/{chatID}/messages/{messageID}` Edit the text content of an existing message. Messages with attachments cannot be edited. ### Parameters - `chatID: string` Unique identifier of the chat. - `messageID: string` - `text: string` New text content for the message ### Returns - `MessageUpdateResponse` - `string chatID` Unique identifier of the chat. - `string messageID` Message ID. - `bool success` Whether the message was successfully edited ### Example ```php messages->update( 'messageID', chatID: '!NCdzlIaMjZUmvmvyHU:beeper.com', text: 'x' ); var_dump($message); ```