Telegram Template Bot for creating Bots
- Use the following command to set your telegram bot token as environment variable. You can request it from @BotFather
TELEGRAM_BOT_TOKEN
:
export TELEGRAM_BOT_TOKEN=<your_telegram_bot_token>
- Add
src
toPYTHONPATH
:
export python path via PYTHONPATH=${PWD}
- Run the following command in your terminal:
python src/run.py