messages_update
Update a bot-authored Discord announcement by message_id, preserving omitted fields, appending supplied files, and verifying changed content or embeds.
Instructions
Purpose: Update one rich announcement previously authored by this bot. Read the current message first, preserve omitted fields and existing attachments, append supplied files, and verify the changed fields independently.
When to use: Correct an announcement, replace embed/layout content, or attach another file using its receipt message_id.
Limits: One message per update; polls and TTS cannot be edited. Existing classic/V2 modes are preserved. New filenames must be distinct from retained attachments.
Approval: Same exact payload_hash and one-time approval_id contract as messages_publish, bound to channel_id and message_id.
Returns: complete or unverified and the updated message link/readback receipt.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tts | No | ||
| poll | No | ||
| files | No | ||
| embeds | No | ||
| content | No | ||
| __confirm | No | Authorize the exact payload supplied in this call after reviewing its summary. | |
| channel_id | Yes | Discord channel ID (snowflake) | |
| components | No | ||
| message_id | Yes | Discord message ID | |
| __confirm_id | No | One-time approval ID returned by the preceding preview; expires shortly. | |
| __confirm_hash | No | SHA-256 payload_hash returned by the preceding preview. | |
| allowed_mentions | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||