Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 883 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 883 Bytes

UselessExtras.Bot

Minimalistic study of building Telegram bots in C#/.NET Core, using Telegram.Bot library. Built in Visual Studio Code on Mac OS X.

The only item not under source control: ~/.telegram/uselessextrasbot file, containing Telegram bot token, which shouldn't be public, right? Make your own bot/token to play with the code, using @BotFather's /newbot command.

Opening, building, and debugging in Visual Studio Code:

  • open project folder and proceed!

Building in command line:

  • dotnet restore
  • dotnet build
  • dotnet run

Starting chat in Telegram:

  • in any chat, type @uselessextrasbot ... and select the only item in the popup menu