Video wird geladen...

Video konnte nicht geladen werden

Zur Startseite

🚀 PSA: Telegram bots can now STREAM responses like ChatGPT! (Great for lovers) Bot API 9.3 added sendMessageDraft — your bot shows a typing bubble that updates in real-time as it generates. But the docs are confusing. Here's how to actually enable it 🧵

50,460 Aufrufe • vor 9 Monaten •via X (Twitter)

38 Kommentare

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

The docs say "toggle Threaded Mode in @BotFather" But if you've looked... there's no such option in the command interface. That's because it's ONLY in the BotFather Mini App 🤦

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

Here's what actually works: 1️⃣ Open (the mini app!) 2️⃣ Select your bot 3️⃣ Find and enable "Threaded Mode" 4️⃣ Set streamMode: "partial" in your bot config That's it. DM streaming will work after that if your're using Bot API

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

⚠️ Important notes: • Only works in private chats (DMs), NOT groups • Users see a draft bubble animating as you generate • Final message replaces the draft when done • Feature is ~1 month old, still rolling out

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

If you're using @openclaw (fka Clawdbot), just add this to your config: channels: telegram: streamMode: "partial" That's it! Moltbot handles the sendMessageDraft calls automatically once Threaded Mode is enabled in BotFather 🤖

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

Shoutout to @banteg for the breadcrumbs that led me here. Now go make your AI bots feel 10x more responsive 🐺 (and yes, I spent way too long researching why the toggle wasn't showing up lol)

Profilbild von Henry Mascot
Henry Mascotvor 9 Monaten

@openclaw Interesting… what I was surprised by is the threads. And they all create new sessions My DMs used to be session main Now it’s session main threads ### Are all the threads still within mains context or are they all individual sessions?

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

@openclaw Individuals! Which is awesome

Profilbild von Henry Mascot
Henry Mascotvor 9 Monaten

@openclaw the annoying thing is it always focuses on new chat each time. instead of existing tabs. and if you type there it creates a new thread.

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

@openclaw Yeah it's not the best implementation, I wish we had streaming without dicing topics @durov

Profilbild von 13
13vor 9 Monaten

@openclaw Wow! Thank you. The Threaded Mode itself is so useful (like having multiple conversations in ChatGPT). Streaming responses is a nice bonus.

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

@openclaw It definitely had its quirks

Profilbild von Ayush Sharma
Ayush Sharmavor 9 Monaten

@openclaw Clawdbot is goated, everyone should definitely try it

Profilbild von JUMPERZ
JUMPERZvor 9 Monaten

@openclaw sendMessageDraft was buried in the docs, took me a while to find it actually works

Profilbild von zkespresso
zkespressovor 9 Monaten

@openclaw You really have a notification when your pet is drinking water ? Love this level of engineering

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

@openclaw Busted!

Profilbild von 知县|zhixian
知县|zhixianvor 9 Monaten

Already tried it for days! Noticed one quirk: during streaming, the message shows twice — rendered text on top, raw markdown below. The raw version disappears after streaming ends. Not sure yet if it's client-side rendering or how the bot implements the API. Anyone else seeing this behavior?

Profilbild von Chris
Chrisvor 9 Monaten

@moltbot I followed your steps, but any chats I send within a thread, OpenClaw replies in the "New Chat" tab. It does create new sessions (as expected) and looks normal in OpenClaw Control on my computer

Profilbild von Hasan Shoaib
Hasan Shoaibvor 9 Monaten

@openclaw @steipete

Profilbild von Sebastian Buzdugan
Sebastian Buzduganvor 9 Monaten

@openclaw streaming bots on telegram are such a big upgrade

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

Enjoyed this thread? Give it a retweet and a follow! 🫡

Profilbild von Nick Neely
Nick Neelyvor 9 Monaten

@openclaw Inception, I thought your notification was for my fountain and it confused me

Profilbild von Guido Kok
Guido Kokvor 9 Monaten

@moltbot This doesn't work anymore in the openclaw .30 update. Whatever I do or change, Both threads and streaming are not working anymore. (i had it working in the clawdbot 1st version).

Profilbild von Gautham Pai
Gautham Paivor 9 Monaten

@moltbot This was in my to-do list and I got this working today! Thanks for the find!

Profilbild von Hari
Harivor 9 Monaten

@openclaw Wow this is great

Profilbild von DannyGladiolas
DannyGladiolasvor 9 Monaten

@openclaw In Molt I see a double copy of the message, I kept it stream off until this is more stable

Profilbild von George
Georgevor 9 Monaten

@openclaw Curious, what model are you using?

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

@openclaw Tested with a few... enabled thinking for opus for this, because non thinking just flies this didn't matter

Profilbild von Sergey
Sergeyvor 9 Monaten

@openclaw Thank you! This is golden!

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

@openclaw Sub to @thursdai_pod 🫡 I love sharing all I learn

Profilbild von Foxipso
Foxipsovor 9 Monaten

@openclaw All the AGI in the world and they couldn't find a better name than "moltbot."

Profilbild von Alex Volkov
Alex Volkovvor 9 Monaten

@openclaw They did, and then crypto asshole sniped it

Profilbild von Foxipso
Foxipsovor 9 Monaten

@openclaw And I thought IPv4 address exhaustion was a crisis. Here we are and only two names were remaining, Zitsels and Moltbot.

Profilbild von Hambo.eth
Hambo.ethvor 9 Monaten

@openclaw @altryne looks like the defense brought your ai on chain and you are now receiving fees ..

Profilbild von abuah
abuahvor 9 Monaten

@openclaw So cool!

Profilbild von Chris Laupama
Chris Laupamavor 9 Monaten

@openclaw Oh yoooooooooo 👀

Profilbild von Wycky Wyld
Wycky Wyldvor 9 Monaten

@openclaw I've been running on discord, is telegram better?

Profilbild von Wasay
Wasayvor 9 Monaten

@openclaw This is huge for bot UX. Streaming changes everything.

Profilbild von Z𒌐P
Z𒌐Pvor 9 Monaten

@openclaw @bankrbot deploy CLAWD WOLFRED ticker CLAWDWOLFRED and send fee to @altryne

Ähnliche Videos