Add telegram bot

This commit is contained in:
blankhex committed 2026-10-24 20:01:40 +03:00
1 parent 134d610a5d
commit 6d2d9ab9ae
15 files changed
+941

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
# Copy to .env and edit.
API_BASE_URL=http://localhost:8088
API_LOGIN=bot-user
API_PASSWORD=change-me
# Bot token from @BotFather; chat id is @group or a numeric id (negative).
TELEGRAM_BOT_TOKEN=123456:ABC-DEF-your-token
TELEGRAM_CHAT_ID=@my-group
# Optional.
BOT_POLL_INTERVAL_SECONDS=900
BOT_STATE_FILE=state.json
# Route API + Telegram traffic through SOCKS5 (needs requests[socks]).
SOCKS5_PROXY=