ApplicationOptions<TState> Class

Definition

Options for the Application<TState> class.

C#
public class ApplicationOptions<TState> where TState : TurnState, new()

Type Parameters

TState

Type of the turn state.

Inheritance
ApplicationOptions<TState>

Constructors

Properties

Adapter

Optional. Bot adapter being used.

AdaptiveCards

Optional. Options used to customize the processing of Adaptive Card requests.

AI

Optional. AI options to use. When provided, a new instance of the AI system will be created.

Authentication

Optional. Options used to enable authentication for the application.

BotAppId

Optional. Application ID of the bot.

LoggerFactory

Optional. Logger factory that will be used in this application.

LongRunningMessages

Optional. If true, the bot supports long running messages that can take longer then the 10 - 15 second timeout imposed by most channels. Defaults to false.

RemoveRecipientMention

Optional. If true, the bot will automatically remove mentions of the bot's name from incoming messages. Defaults to true.

StartTypingTimer

Optional. If true, the bot will automatically start a typing timer when messages are received. This allows the bot to automatically indicate that it's received the message and is processing the request. Defaults to true.

Storage

Optional. Storage provider to use for the application.

TaskModules

Optional. Options used to customize the processing of Task Modules requests.

TurnStateFactory

Optional. Factory used to create a custom turn state instance.

Applies to

Proizvod Verzije
Microsoft Teams Framework .NET SDK Latest