Skip to content

0nEoNi1/python-telegram-bot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%