Support session commands (/clear, /new) from Telegram channel
Feature Request
When using Claude Code with the official Telegram plugin (channel), it would be useful to support session management commands sent from the Telegram side, such as:
/clear— clear conversation context/new— start a new session
Current Behavior
Currently, /clear and /new are only available in the Claude Code terminal. When sent from Telegram, they are treated as regular messages and have no effect.
Expected Behavior
The Telegram channel plugin should recognize these commands and trigger the corresponding session actions, allowing users to manage their conversation context without switching to the terminal.
Use Case
When interacting with Claude Code primarily through Telegram (e.g., mobile use), users may want to reset context or start fresh without access to the terminal. Supporting these commands would make the Telegram channel experience more self-contained.
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗