Bot uses several libraries:
- TeleBot - API Telegram for python
- SQLAlchemy - Interaction with the database
You can install libraries with pip:
$ pip install pyTelegramBotAPI
$ pip install SQLAlchemy
BinaryTree.py contains a binary search tree for fast searching users in list. You can use this class in your project, because tree node contains the key and the appropriate object.
Fix The basis of the bot is ChatBot.py. To start the bot you need to get token for your bot. To create bot you can with @BotFather in telegram.