using Nocr.TelegramClient.Host.Infrastructure; var host = new HostBuilderFactory() .CreateHostBuilder(args) .Build(); await host.RunAsync();