* Fixed method handlers behaviour

This commit is contained in:
2025-08-02 03:19:52 +04:00
parent 16d11990ec
commit 8e0d271901
4 changed files with 24 additions and 5 deletions
@@ -70,6 +70,7 @@ namespace Telegrator.Hosting.Web
Services.Configure<TelegramBotClientOptions>(Configuration.GetSection(nameof(TelegramBotClientOptions)), new TelegramBotClientOptionsProxy());
}
Services.AddSingleton<IConfigurationManager>(Configuration);
Services.AddSingleton<IOptions<TelegratorOptions>>(Options.Create(_settings));
return new TelegramBotWebHost(_innerBuilder, _handlers);
}