tg-rich-streaming

Installation
SKILL.md

tg-rich-streaming

Stream AI-generated text into a Telegram private chat with native draft animation and a "thinking" indicator — the same UX as ChatGPT or Claude, directly inside the bot.

Sending requires network access to api.telegram.org and TELEGRAM_BOT_TOKEN. sendRichMessageDraft works only with a private integer chat_id. Bot API 10.2 also permits direct InputRichMessage.blocks; the draft lifecycle below is unchanged.

Core pattern

Four mandatory steps. Skip step 3 and the draft disappears after ~30 seconds.

Step 1 — open draft with Thinking block

Send the first sendRichMessageDraft immediately after the LLM call starts. draft_id is any non-zero integer you generate once per response; keep it for all updates. RichBlockThinking signals the model is working.

Installs
11
GitHub Stars
17
First Seen
Jul 2, 2026
tg-rich-streaming — serejaris/telegram-skills