Setup guide is available in this article (RU)
- This bot is meant to be hosted on Heroku
- Telegram webhook is connected with flask
BOT_TOKEN
- bot token for main botWEBHOOK_TOKEN
- large random string to protect webhookADMIN_PASSWORD
- large random string to access server
HOST
- host to set as webhook, e.g example.herokuapp.comIS_PRODUCTION
- flag to run flask server or to use bot polling instead
Tg-logger, [repo]
LOG_BOT_TOKEN
- bot token for logging, leave empty to disableADMIN_ID
- user_id to send logs to
/?password={ADMIN_PASSWORD}
- status page/set_webhook?password={ADMIN_PASSWORD}
- setup webhook/remove_webhook?password={ADMIN_PASSWORD}
- remove webhook