You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Difficulty: intermediate · Effort: M · Priority: P3
Impact: operators and incident response
Problem Statement
The bot currently exposes only /start. Operators have no way to
broadcast a maintenance notice to every linked Telegram user, pause
notifications during an incident, or query the bot's health from
Telegram itself.
Why It Matters
Incident response without Telegram-side commands forces operators to
use the dashboard. During a liquidation event, every minute counts.
Expected Outcome
Three admin commands:
/broadcast <message> — sends to all is_allowed_notification=True
users with a confirmation prompt.
/pause <minutes> — suppresses alerts for N minutes.
The bot currently exposes only
/start. Operators have no way tobroadcast a maintenance notice to every linked Telegram user, pause
notifications during an incident, or query the bot's health from
Telegram itself.
Incident response without Telegram-side commands forces operators to
use the dashboard. During a liquidation event, every minute counts.
Three admin commands:
/broadcast <message>— sends to allis_allowed_notification=Trueusers with a confirmation prompt.
/pause <minutes>— suppresses alerts for N minutes./health— returns bot uptime + Redis ping latency.TELEGRAM_ADMIN_USER_IDSenv-var list can run these./broadcastrate-limited to 1/hr/caller./pauserecord persists in Redis with TTL./healthreturns within 2 seconds.quantara/web_app/telegram/handlers/admin.pyquantara/web_app/telegram/__init__.py(register router)#91(deep-link replay).