ClawKit Logo
ClawKitReliability Toolkit

Fix: Telegram Typing Indicator Persists After Response Completes

[Bot] โœ“ Response sent โ€” but Telegram still shows "typing..." indefinitely

After OpenClaw sends a response to Telegram, the typing indicator sometimes persists for minutes โ€” or until Telegram auto-clears it after 5 minutes. The bot is not frozen; it has already sent the reply. The root cause is a missing or failed sendChatAction cancellation call. This is a known cosmetic issue that confuses users into thinking the agent is still processing.

Next Step

Fix now, then reduce repeat incidents

If this issue keeps coming back, validate your setup in Doctor first, then harden your config.

Step 1: Update OpenClaw

This issue has been fixed in recent OpenClaw versions. The patched build sends a cancellation action after every response, even when an exception occurs mid-processing:

Update OpenClaw to latest
npm install -g openclaw@latest

# Verify version
openclaw --version

After updating, restart the gateway to load the new plugin version:

Restart gateway
openclaw gateway restart

If you are using a pinned or custom version, check the OpenClaw GitHub changelog for the commit that adds sendChatAction cancel cleanup on response completion.

Step 2: Clear the Typing Indicator Immediately

While waiting for the update, you can manually clear the indicator via Telegram Bot API. Replace BOT_TOKEN and CHAT_ID with your values:

Cancel typing indicator via Telegram Bot API
curl -s -X POST "https://api.telegram.org/bot<BOT_TOKEN>/sendChatAction"   -d chat_id=<CHAT_ID>   -d action=cancel

Step 3: Check dmPolicy Configuration

Certain dmPolicy configurations can cause the plugin to handle DM messages differently, sometimes skipping cleanup. Verify your Telegram plugin config:

Telegram plugin config (openclaw.json)
{
  "plugins": {
    "telegram": {
      "enabled": true,
      "dmPolicy": "open",
      "typingDelay": false
    }
  }
}

Setting typingDelay: false disables the initial typing indicator entirely if you prefer not to show it at all.

Step 4: Restart the Telegram Plugin

Restart just the Telegram plugin
# From the OpenClaw CLI
openclaw plugins restart telegram

# Or restart the full gateway
openclaw gateway restart

After the fix, send a test message to your bot and confirm the typing indicator clears within a second of the bot responding.

Did this guide solve your problem?