A financial news service needed a way to push real-time market alerts to subscribers โ€” with filtering by asset class, threshold-based notifications, and a self-service subscription management system.

Bot Features

  • Real-time alerts: Price movement notifications triggered by webhooks from market data APIs, delivered in under 2 seconds
  • User preferences: Subscribers set alert thresholds, choose which assets to track, and set quiet hours โ€” all via the bot's inline keyboard menu
  • Mini dashboards: Users request on-demand portfolio snapshots or market summaries directly in chat
  • Group management: Premium tier channels with invite link management, subscription expiry, and auto-kick for expired users
  • Admin panel: Broadcast messages, view subscriber stats, manage subscriptions โ€” all via Telegram itself

Technical Details

Built with python-telegram-bot (async), a FastAPI webhook server, PostgreSQL for user state, and Redis for rate limiting. The system handles 10,000+ active subscribers with sub-100ms response times.