Telegram bot template in python-telegram-bot
Telegram bot template in python-telegram-bot
pip install python-telegram-bot
python run.py
In utils there are commonly used functions, mainly tools and dummy functions.
The dummy functions are functions that facilitate other functions.
For example user.get_name(..) facilitates the taking of the name and surname if the username is not present.
Each util should be part of the file that closes a set of functions.
For example get_name is an executable function on the user so it is present in the user file. A function that takes the id of a chat is part of the up (update) file.