microsoft/teams.net
Publicmirrored from https://github.com/microsoft/teams.netAvailable
core/src/Microsoft.Teams.Apps/Api/Clients/BotClient.cs
22lines · modecode
| 1 | // Copyright (c) Microsoft Corporation. |
| 2 | // Licensed under the MIT License. |
| 3 | |
| 4 | using CoreUserTokenClient = Microsoft.Teams.Core.UserTokenClient; |
| 5 | |
| 6 | namespace Microsoft.Teams.Apps.Api.Clients; |
| 7 | |
| 8 | /// <summary> |
| 9 | /// Client for bot-level operations, including the sign-in sub-client. |
| 10 | /// </summary> |
| 11 | public 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 | |