microsoft/teams.net

Public

mirrored from https://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
a7878eed2a23bbb5044aa82275ee669c0b1c16fb

Branches

Tags

  • No tags available.
0Branches0Tags
Go to file
Add file
Code

Clone

HTTPS

Download ZIP

core/samples/Proactive/Program.cs

13lines · modepreview

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

using Microsoft.Bot.Core.Hosting;

using Proactive;

HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);
builder.Services.AddConversationClient();
builder.Services.AddHostedService<Worker>();

IHost host = builder.Build();
host.Run();