Skip to content

vanmxpx/IBWT.Framework

 
 

Repository files navigation

Telegram Bot Framework for .NET Core

NuGet Build Status License

Telegram Bot Framework Logo

Simple framework for building Telegram bots 🤖. Ideal for running multiple chat bots inside a single ASP.NET Core app.

Publish template and framework commands:

Change version in .\template\Template.csproj Then run dotnet pack .\template\Template.csproj dotnet nuget push .\template\bin\Debug\IBWT.Framework.Template.1.4.0.nupkg -k <key> -s https://api.nuget.org/v3/index.json

dotnet build ".\src\IBWT.Framework\IBWT.Framework.csproj" dotnet nuget push .\IBWT.Framework\bin\Debug\IBWT.Framework.2.2.0.nupkg -k <key> -s https://api.nuget.org/v3/index.json

To install or update template you need to run command: dotnet new -i IBWT.Framework.template

Getting Started

This project targets .NET Core 2.2 so make sure you have Visual Studio 2017 or Visual Studio Code with .NET Core (v2.2 or above) installed.

Creating a bot with good architecture becomes very simple using this framework. Have a look at the Quick Start wiki to make your fist Echo Bot.

There is much more you can do with your bot. See what's available at wikis.

Framework Features

  • Allows you to have multiple bots running inside one app
  • Able to share code(update handlers) between multiple bots
  • Easy to use with webhooks(specially with Docker deployments)
  • Optimized for making Telegram Games
  • Simplifies many repititive tasks in developing bots

Samples

Don't wanna read wikis? Read C# code of sample projects in samples directory.

About

Simple framework for building Telegram bots

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%