// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

using CompatProactive;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Microsoft.Teams.Apps.BotBuilder;


HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);
builder.Services.AddTeamsBotFrameworkHttpAdapter();
builder.Services.AddHostedService<ProactiveWorker>();
IHost host = builder.Build();
host.Run();
