deploy-f / dotnet-core3.1-tgbot-example

Example of the Telegram chatbot for .NET3.1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Example of the Telegram chatbot for .NET 3.1

How to launch a bot

  1. Clone this repo
  2. Build project in Release mode

    dotnet publish -c Release -o publish

  3. Go to publish directory and create a zip-archive of published source files
  4. Upload your zip-archive to deploy-f.com
  5. Configure bot token
    • with environment variable: BotSettings__BotToken=bot_token
      or
    • with edited appsettings.json file
  6. Press Start button

About

Example of the Telegram chatbot for .NET3.1


Languages

Language:C# 100.0%