-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Description
Description
The Telegram typing indicator ("typing...") shows persistently even when the bot is completely idle and not processing any messages. This happens on both DM and group chats.
Reproduction
- Send a message to the bot via Telegram DM
- Wait for the bot to respond
- After the response is delivered, the typing indicator continues to show indefinitely
- The indicator does not clear on its own — it persists until a new message is sent or the gateway is restarted
Environment
- OpenClaw version: 2026.2.22-2
- Node.js: v22.22.0
- OS: Ubuntu Linux 6.17.0-14-generic (x64)
- Channel: Telegram (bot API, long-polling)
- Affected bots: Multiple bots on the same gateway exhibit the same behavior
Observed Behavior
- Typing indicator shows continuously in the chat header
- Multiple bots on the same host (different Telegram bot tokens) all exhibit the same issue
- Both bots were updated to the same OpenClaw version around the same time
- The issue started after updating to 2026.2.22-2
Expected Behavior
The typing indicator should clear as soon as the bot finishes processing and sends its response.
Possibly Related
The recent CHANGELOG mentions a typing keepalive change:
"Channels/Typing keepalive: refresh channel typing callbacks on a keepalive interval during long replies and clear keepalive timers on idle/cleanup across core + extension dispatcher callsites so typing indicators do not expire mid-inference."
This fix was meant to keep typing alive during long replies, but may have introduced a regression where the keepalive timer is not properly cleared after the response completes, causing the typing indicator to persist indefinitely.
Workaround
Restarting the gateway clears the indicator temporarily, but it resumes after the next message exchange.