Bot telegram
- Use conda-minify to export only the top level requirements without the build string. It must be installed and executed within the conda
base
environment.
conda run --name base conda-minify -n mairror-api > environment.yml
- Use the conversion tool
utils/conversor.py
to convert the requirements to a pip requirements file. It reads the previously generated YAML file and outputs a requirements.txt file in the same folder.
python utils/conversor.py
There isn't any framework to do unit test with our code, you can check it in this mail: https://github.com/python-telegram-bot/python-telegram-bot/wiki/Writing-Tests
- https://stackoverflow.com/questions/42796300/get-photo-in-telegram-bot-through-pytelegrambotapi
- https://towardsdatascience.com/bring-your-telegram-chatbot-to-the-next-level-c771ec7d31e4
- Testing Wiki
- Telegram Bot Testing Suite
- Telegram Bot Testing Suite RTD
- https://core.telegram.org/bots/api
- https://api.slack.com/reference/surfaces/formatting