-
-
Notifications
You must be signed in to change notification settings - Fork 52.6k
Description
Description
When OpenClaw is replying inside a Telegram forum topic (Topics enabled), the bot's typing... indicator is shown in the main chat / “New chat” area instead of inside the current topic thread. This makes it look like the bot is typing in a different conversation.
Steps to reproduce
- Create / use a Telegram group with Topics enabled (forum).
- Add an OpenClaw Telegram bot to the group.
- Open a specific topic, send a message that triggers an agent response.
- While the agent is generating, watch the UI typing indicator.
Expected
Typing indicator appears within the same topic thread where the user message was sent.
Actual
Typing indicator appears in the group's main chat (often shown as “New chat”), not the topic.
Environment
- OpenClaw: 2026.2.2
- Telegram: Bot API (grammY)
- Context: Telegram forum topics (message_thread_id)
Suspected cause / fix
Telegram Bot API sendChatAction supports message_thread_id for forum topics. It looks like OpenClaw's Telegram provider is calling sendChatAction without passing message_thread_id, so Telegram associates the chat action with the main thread.
Proposed fix: when replying in a topic session (or when inbound message context includes a topic/thread id), pass message_thread_id on sendChatAction (and any other chat-action calls) so the typing indicator is scoped to the topic.
Related: #6597 (topics/thread routing), #8820 (forum topic context issues)