← All projects

SMM Panel Support & Automation Suite

WhatsApp + Telegram automation serving a panel with 300k+ users — support, orders, provider relay.

2026-03present
Node.jsSQLiteTelegram Bot APIWhatsAppPM2REST APIs

Key Features

  • Order status via WhatsApp
  • Full admin from Telegram
  • Provider result relay with ID mapping
  • Realtime notice broadcast to site
  • Whitelist-based data sanitizer

Overview

A production automation suite around a large SMM panel:

  • WhatsApp support bot — reads unread chats, checks order status via the panel's Admin API, replies with templates, escalates payments with screenshots
  • Admin Telegram bot — full panel administration from Telegram: orders, refills, user management, custom rates
  • Provider reply relay — listens to a provider group's message edits, parses results, maps external→panel order IDs and notifies customers automatically (partial completions handled)
  • Notice broadcast — a Telegram channel drives the website's announcement slider in real time

Hard parts

  • N+1 API calls killed performance → built an include-style batcher (9 calls → 1)
  • A central sanitizer guarantees provider data never leaks to customers
  • SQLite WAL corruption recovery runbook (stop → backup → drop WAL → integrity check)