The Sakhi Telegram Bot is a Python-based bot that interacts with the Sakhi API Server via Telegram. It allows users to perform various actions and access information from the API Server through the convenience of a Telegram chat interface.
- Python
- Telegram Bot API token
- Telegram Bot Name
- Sakhi API Server URL
- Audience Type
- Log Level
-
Clone the repository
git clone https://github.com/DJP-Digital-Jaaduii-Pitara/sakhi-telegram-service.git
-
Install required python packages
pip install -r requirements.txt
-
Set up the configuration
- token
- botName
- upstream
- audienceType - (Default, Teacher, Parent)
- logLevel - (DEBUG, INFO, ERROR)
- promptMsg (optional)
-
Start the Telegram bot
- python telegram_bot_accelerator.py
Once the Telegram bot is up and running, you can interact with it through your Telegram chat. Start a chat with the bot and use the available commands and features to perform actions and retrieve information from the Sakhi API Server.
-
The bot provides the following commands:
/start: Start the conversation with the bot
-
Select preferred language
-
Start querying questions
Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.
This project is licensed under the MIT License.