fix(telegram): added "stop" command handler, fixed stop command

This commit is contained in:
Gleb
2026-03-07 12:38:52 +02:00
parent ab89775d59
commit 44327d6457

View File

@@ -197,6 +197,7 @@ class TelegramChannel(BaseChannel):
# Add command handlers
self._app.add_handler(CommandHandler("start", self._on_start))
self._app.add_handler(CommandHandler("new", self._forward_command))
self._app.add_handler(CommandHandler("stop", self._forward_command))
self._app.add_handler(CommandHandler("help", self._on_help))
# Add message handler for text, photos, voice, documents