-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy path.env.example
More file actions
21 lines (18 loc) · 718 Bytes
/
Copy path.env.example
File metadata and controls
21 lines (18 loc) · 718 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Telegram Bot Token (BotFather)
TELEGRAM_BOT_TOKEN=your_bot_token_here
# Price check interval (minutes)
CHECK_INTERVAL=30
# Allowed Telegram Group IDs (comma-separated)
# To find group IDs:
# 1. Add the bot to the group
# 2. Send a message in the group
# 3. Visit https://api.telegram.org/bot{BOT_TOKEN}/getUpdates
# 4. In the JSON response, look for "chat":{"id": -1001234567890}
# Example: ALLOWED_GROUP_IDS=-1001234567890,-1009876543210
ALLOWED_GROUP_IDS=
# Admin Chat ID for error notifications (your personal chat ID)
# To find your chat ID:
# 1. Send a message to your bot
# 2. Visit https://api.telegram.org/bot{BOT_TOKEN}/getUpdates
# 3. Look for "from":{"id": 123456789} - copy this number
ADMIN_CHAT_ID=