General Inquiry
Question
I created a Python server on the free plan. I need to set environment variables such as API_ID, API_HASH, BOT_TOKEN and API keys for my Python Telegram bot. Where can I add environment variables/secrets for my server?
2 replies
Environment variables such as API_ID, API_HASH, BOT_TOKEN, and API keys should be added to a .env file.
For example:
API_ID=000000
API_HASH=your_api_hash
BOT_TOKEN=your_bot_token
API_KEY=your_api_key
thankx
To reply to this discussion, create a free Waifly account
or sign in. Reading stays open to everyone.
