edit_message
Replace the text of an existing chat message and notify the conversation that it was edited. Use it to correct or update your own Nextcloud messages within 24 hours.
Instructions
Replace the text of a chat message. Talk marks it as edited and tells the conversation.
Only your own messages (or, for a moderator, any in a group conversation), only within 24 hours, and not system messages or shared polls and locations; for a shared file the new text becomes its caption. Mentions read back from get_messages show names; to keep a mention when editing, write it as search_mentions gives it (@"user-id").
Args: token: The conversation token. message_id: The message to edit. message: The new text. Mentions work as in send_message.
Returns: JSON with the edited message.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | ||
| message | Yes | ||
| message_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |