/botnet

Telegram Bot written in .NET

Primary LanguageC#GNU General Public License v3.0GPL-3.0

BOTNET

Telegram Bot written in .NET

Build and Run

  1. Open BotNet.sln in Visual Studio
  2. Right click BotNet project in Solution Explorer, select Manage User Secrets
  3. In the opened secrets.json, add your bot token to following properties:
{
  "BotOptions:AccessToken": "yourtoken",
  "GoogleMapOptions:ApiKey": "yourApiKey",
  "HostingOptions:UseLongPolling": true,
  "WeatherOptions:ApiKey": "yourApiKey"
}
  1. Run the project by pressing F5