Бұл құжат қазір тек English тілінде қолжетімді. Аудармалар дайын болған кезде жарияланады.

Your own Telegram bot

Deploy your own Telegram bot via a prebuilt Docker image.

Architecture

Your bot is a Python/Node process that reads LOGRUS_API_KEY, LOGRUS_TENANT_ID, TELEGRAM_TOKEN. All VPN functionality is delegated to our API; the bot handles UX only.

Quickstart

docker run -d \
  -e LOGRUS_API_KEY=logrus_pk_xxx \
  -e LOGRUS_TENANT_ID=your-brand \
  -e TELEGRAM_TOKEN=123:AAA... \
  -p 8080:8080 \
  ghcr.io/logrus/partner-bot:latest

Source

github.com/logrus/partner-bot — MIT license. Fork and customise as much as you like.

Canonical flows

  • /start → welcome + "Try free" / "Buy" buttons.
  • /buy → plan selection + payment (Crypto Bot / USDT / card).
  • /my → current subscription, device list, renewal.
  • /invite → referral link.
  • /support → contact your support (set in config).