Skip to content

ShiSheng233/Telegram.Bot.Template

Repository files navigation

Telegram.Bot.Template

A template for creating Telegram bots using the Telegram.Bot library.

.NET 6.0 is our target.

Getting Started

  1. Click the Use this template button to create a new repository from this template.

  2. Modify BotToken field in appsettings.json.

  3. Build and run your project.

Build instructions

dotnet publish -c Release -r win-x64 --self-contained true

# or

dotnet publish -c Release -r linux-x64 --self-contained true

You can use any other runtime identifier (RID) supported by .NET Core.

It's recommended to use -p:PublishReadyToRun=true or -p:PublishSingleFile=true.

License

MIT License

About

A C# template for creating Telegram bots

Topics

Resources

License

Stars

Watchers

Forks

Languages