Add Telegram config vars to config.py
This commit is contained in:
@@ -33,3 +33,7 @@ ICON_UPLOAD_TYPES = {
|
|||||||
"image/webp": "webp",
|
"image/webp": "webp",
|
||||||
}
|
}
|
||||||
SERVICE_ICONS_DIR = Path("static/service-icons")
|
SERVICE_ICONS_DIR = Path("static/service-icons")
|
||||||
|
|
||||||
|
TELEGRAM_BOT_TOKEN = os.getenv("TELEGRAM_BOT_TOKEN", "")
|
||||||
|
TELEGRAM_CHAT_ID = os.getenv("TELEGRAM_CHAT_ID", "")
|
||||||
|
TELEGRAM_API_URL = os.getenv("TELEGRAM_API_URL", "https://api.telegram.org/bot")
|
||||||
|
|||||||
Reference in New Issue
Block a user