Skip to content

Latest commit

 

History

History
18 lines (15 loc) · 507 Bytes

README.md

File metadata and controls

18 lines (15 loc) · 507 Bytes

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": "your token",
      "GoogleMapOptions:ApiKey": "your API key",
      "HostingOptions:UseLongPolling": true,
      "WeatherOptions:ApiKey": "your API key"
    }
  4. Run the project by pressing F5