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.
Edit a message
import os
from beeper_desktop_api import BeeperDesktop
client = BeeperDesktop(
access_token=os.environ.get("BEEPER_ACCESS_TOKEN"), # This is the default and can be omitted
)
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
}