Telegram bot - @itis_microservices_2021_bot
- .NET 5 download
Run the following command in your solutiuon (BotService.sln
) directory:
dotnet run ./BadSmellingBotServiceUsingCSharp/BadSmellingBotServiceUsingCSharp.csproj
- Open
BotService.sln
with your preferred IDE - Set startup project in your build configuration to
BadSmellingBotServiceUsingCSharp.csproj
- Run the solution
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"Telegram" : {
"Token" : "2018371884:AAEJbN3m1_NhaMP65Gv6ayUF_Lc3y2bdxvY"
}
}
Telegram.Token
: telegram bot authentication token
You can change the token to connect to your own telegram bot.