.NET10 Library to be used to implement Telegram integration.
The library is based on the Telegram Bot API. The goal of this repository is to help developers/companies to implement solution based on Telegram Integration with OpenAI services. The solution contains integration with the following services:
- OpenAI for the implementation of a chatbot that can be used to interact with the user.
- Stripe for the implementation of a payment system.
- MongoDB for the implementation of a storage system that can be used to store the user data.
- CloudAmqp for the implementation of a message broker that can be used to send messages between the services.
Note: The library do not contains reference to ETL (Extraction Transformation and Loading).
ETL is out of the scope of this library and is moved on other repository.
Make sure you have following accounts:
- Telegram account
- Azure account
- OpenAI account
- NGROK account
- Stripe account
- MongoDB account
- CloudAmqp account
# Restore packages
dotnet restore
# Build solution
dotnet build
# Run tests
dotnet test
# Run webapi
dotnet run --project ./src/WebApi
# Run worker
dotnet run --project ./src/Worker
# ** DOCKER ** #
# Build docker image
docker build -f src/WebApi/Dockerfile -t genocs/telegram_integration-webapi:4.0.1 -t genocs/telegram_integration-webapi:latest .
docker build -f src/Worker/Dockerfile -t genocs/telegram_integration-worker:4.0.1 -t genocs/telegram_integration-worker:latest .
# Push image on dockerhub
docker push genocs/telegram_integration-webapi:4.0.1
docker push genocs/telegram_integration-webapi:latest
docker push genocs/telegram_integration-worker:4.0.1
docker push genocs/telegram_integration-worker:latest
# Run with docker compose
docker-compose up- Download ngrok from https://ngrok.com/download
- unzip the file
- run the command: ngrok http https://localhost:5091
- copy the https url and use it to configure the webhook
This project is licensed with the MIT license.
View Complete Changelogs.
Has this Project helped you learn something New? or Helped you at work? Here are a few ways by which you can support.
- ⭐ Leave a star!
- 🥇 Recommend this project to your colleagues.
- 🦸 Do consider endorsing me on LinkedIn for ASP.NET Core - Connect via LinkedIn
- ☕ If you want to support this project in the long run, consider buying me a coffee!
This project exists thanks to all the people who contribute. Submit your PR and join the team!
Become a financial contributor and help me sustain the project. Support the Project!

