Skip to content

Genocs/telegram-integration

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

License Build Packages Downloads Contributors Forks Stargazers Issues Discord Gitter Twitter Twitterx LinkedIn

icon

Telegram Integration Library

.NET10 Library to be used to implement Telegram integration.

Goals

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.

Prerequisites

Make sure you have following accounts:

Getting Started

# 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

How to use NGROK to expose the service to the internet

License

This project is licensed with the MIT license.

Changelogs

View Complete Changelogs.

Community

Support

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!

buy-me-a-coffee

Code Contributors

This project exists thanks to all the people who contribute. Submit your PR and join the team!

genocs contributors

Financial Contributors

Become a financial contributor and help me sustain the project. Support the Project!

Acknowledgements

About

Telegram Integration .NET10 library

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Contributors 3

  •  
  •  
  •