Files
uPortal2/bots/meetings_telegram_bot/.env.example
T
2026-10-24 20:01:40 +03:00

16 lines
405 B
Bash

# 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=