mirror of
https://github.com/openclaw/openclaw.git
synced 2026-04-19 03:27:26 +00:00
fix: restore telegram draft streaming partials
This commit is contained in:
@@ -109,6 +109,18 @@ group messages, so use admin if you need full visibility.
|
||||
- Long-polling uses grammY runner with per-chat sequencing; overall concurrency is capped by `agents.defaults.maxConcurrent`.
|
||||
- Telegram Bot API does not support read receipts; there is no `sendReadReceipts` option.
|
||||
|
||||
## Draft streaming
|
||||
|
||||
OpenClaw can stream partial replies in Telegram DMs using `sendMessageDraft`.
|
||||
|
||||
Requirements:
|
||||
|
||||
- Threaded Mode enabled for the bot in @BotFather (forum topic mode).
|
||||
- Private chat threads only (Telegram includes `message_thread_id` on inbound messages).
|
||||
- `channels.telegram.streamMode` not set to `"off"` (default: `"partial"`, `"block"` enables chunked draft updates).
|
||||
|
||||
Draft streaming is DM-only; Telegram does not support it in groups or channels.
|
||||
|
||||
## Formatting (Telegram HTML)
|
||||
|
||||
- Outbound Telegram text uses `parse_mode: "HTML"` (Telegram’s supported tag subset).
|
||||
|
||||
Reference in New Issue
Block a user