microsoft/teams.net

Public

mirrored fromhttps://github.com/microsoft/teams.netAvailable

CodeCommitsIssuesPull requestsActionsInsightsSecurity
copilot/move-activity-classes-to-core-again

Branches

Tags

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

Clone

HTTPS

Download ZIP

core/samples/Proactive/Program.cs

13lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4using Microsoft.Bot.Core.Hosting;
5
6using Proactive;
7
8HostApplicationBuilder builder = Host.CreateApplicationBuilder(args);
9builder.Services.AddConversationClient();
10builder.Services.AddHostedService<Worker>();
11
12IHost host = builder.Build();
13host.Run();
14