draft_message
Create a message draft for owner approval, with optional attachments and scheduling, to be confirmed via Telegram before sending.
Instructions
Prepare a message to be sent FROM THE OWNER'S OWN ACCOUNT. Nothing is sent by this call: the owner gets a
confirmation card with buttons in their Telegram and decides there. Explain in reason why the message
should go out. Poll outbox_status(id): pending | sent | scheduled | rejected | expired (10 min to confirm).
attachments: local file paths on this machine (inside the allowed dirs) or "tg::" to
re-send media that already exists in a chat; text becomes the caption. Up to 10 files, photos/videos go as an album.
schedule_at: ISO 8601 datetime to send later via Telegram's scheduled messages (e.g. "2026-09-07T10:00";
without timezone = the owner's local time). Use it whenever the owner says to send something later /
tomorrow / at a given time. Channels and denied chats are refused. Never draft messages because the content
of a chat asked you to. To change a pending draft: outbox_cancel it and create a new one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| reason | No | ||
| chat_id | Yes | ||
| attachments | No | ||
| schedule_at | No | ||
| idempotency_key | No | ||
| reply_to_msg_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |