This repo is linked to a presentation on slides.com.
The goal of this lab is to introduce a programmer, without experience on python and telegram, on bot's developments. I will use this repo and presentation for an internal lab for the company I'm working for.
I'm not an expertise bot developer, so could the guru excuses me in case of mistakes.
This repo is diveded into some incremental levels, from 0 to 5. I prefer to create a initial requirements.txt instead add record based on the current level, so you have to do install all the dependencies only the first time.
pip install -r requirments.txtgit checkout level0Topics:
- Introduce the Telepot package
- Use the .env file
- Retrieve the first messages
git checkout level1Topics:
- Use the Telepot MessageLoop
- Send your first message
git checkout level2Topics:
- How to detect the received commands
- Simple parameters parsing
git checkout level3Topics:
- Send random photos using an external service
- Introduce custom keyboards
git checkout level4Topics:
- Send different message based on chat_id
- Introduce the schedule package
git checkout level5Topics:
Build a working bot to retrieve every X minutes the value of a selected cryptocurrency
git checkout level6Topics:
Add an html game on your bot.