Edit a message
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 ParametersJSON
text: string
New text content for the message
minLength1
Returns
chatID: string
Unique identifier of the chat.
messageID: string
Message ID.
success: boolean
Whether the message was successfully edited
Edit a message
curl http://localhost:23373/v1/chats/$CHAT_ID/messages/$MESSAGE_ID \
-X PUT \
-H 'Content-Type: application/json' \
-d '{
"text": "x"
}'{
"chatID": "!signal_adamvy:local-signal.localhost",
"messageID": "1343993",
"success": true
}Returns Examples
{
"chatID": "!signal_adamvy:local-signal.localhost",
"messageID": "1343993",
"success": true
}