microsoft/teams.net

Public

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

CodeCommitsIssuesPull requestsActionsInsightsSecurity
kavin/agents-sdk-interop

Branches

Tags

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

Clone

HTTPS

Download ZIP

core/src/Microsoft.Teams.Core/Hosting/BotApplicationOptions.cs

23lines · modecode

1// Copyright (c) Microsoft Corporation.
2// Licensed under the MIT License.
3
4namespace Microsoft.Teams.Core.Hosting;
5
6/// <summary>
7/// Options for configuring a bot application instance.
8/// </summary>
9public class BotApplicationOptions
10{
11 /// <summary>
12 /// Gets or sets the application (client) ID, used for logging and diagnostics.
13 /// </summary>
14 public string AppId { get; set; } = string.Empty;
15
16 /// <summary>
17 /// Gets or sets the maximum time allowed for processing an incoming activity.
18 /// This timeout replaces the HTTP request's cancellation token so that handlers
19 /// (especially streaming handlers) are not canceled when the incoming HTTP connection closes.
20 /// Defaults to 5 minutes. Set to <see cref="Timeout.InfiniteTimeSpan"/> to disable the timeout.
21 /// </summary>
22 public TimeSpan ProcessActivityTimeout { get; set; } = TimeSpan.FromMinutes(5);
23}