Edit a message
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
minLength1
Returns
Edit a message
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){
"chatID": "!signal_adamvy:local-signal.localhost",
"messageID": "1343993",
"success": true
}Returns Examples
{
"chatID": "!signal_adamvy:local-signal.localhost",
"messageID": "1343993",
"success": true
}