RoboticsAndCloud / python-telegram-bot

Telegram bot with Python 3.7

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

python-telegram-bot

Telegram bot compatible with Python 3.7. Webhooks with ngrok to Telegram bot message stream, conditional responses.

Currently under development - 4/13/2019

Instructions For Use:

Download ngrok into the project root directory: https://ngrok.com/download

Navigate the the root directory in terminal, run:

./ngrok http 5000

Add your telegram bot token to the TOKEN variable in config.py

Add your ngrok https url to the NGROK_URL variable in config.py

Configure conditional actions based on Telegram message text in telegram_bot.py TelegramBot.action class method

Run the app server however you have python3.7 set to PATH:

$ python3.7 app.py

About

Telegram bot with Python 3.7

License:GNU General Public License v3.0


Languages

Language:Python 100.0%