Support session commands (/clear, /new) from Telegram channel

Resolved 💬 2 comments Opened Mar 22, 2026 by Brightpan Closed Apr 20, 2026

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.

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗