microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
v2.0.8

Branches

Tags

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

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Apps/Api/Clients/BotClient.cs

22lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4using CoreUserTokenClient = Microsoft.Teams.Core.UserTokenClient;
5
6namespace Microsoft.Teams.Apps.Api.Clients;
7
8/// <summary>
9/// Client for bot-level operations, including the sign-in sub-client.
10/// </summary>
11public class BotClient
12{
13 /// <summary>
14 /// Client for bot sign-in operations.
15 /// </summary>
16 public BotSignInClient SignIn { get; }
17
18 internal BotClient(CoreUserTokenClient userTokenClient)
19 {
20 SignIn = new BotSignInClient(userTokenClient);
21 }
22}
23