add tg bot project

This commit is contained in:
2026-04-19 12:38:06 +03:00
parent 4ffd3433f9
commit 985d7e0afa
8 changed files with 61 additions and 2 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
using GymLogAI.TgBot;
namespace GymLogAI.API;
public class Program
@@ -8,6 +10,7 @@ public class Program
// Add services to the container.
builder.Services.AddAuthorization();
builder.Services.AddTgBot(builder.Configuration);
// Learn more about configuring OpenAPI at https://aka.ms/aspnet/openapi
builder.Services.AddOpenApi();
@@ -45,4 +48,4 @@ public class Program
app.Run();
}
}
}