Share via


AgentApplicationBuilder Class

Definition

A builder class for simplifying the creation of an AgentApplication instance.

public class AgentApplicationBuilder
type AgentApplicationBuilder = class
Public Class AgentApplicationBuilder
Inheritance
AgentApplicationBuilder

Constructors

AgentApplicationBuilder(IStorage)

Creates the builder and uses IStorage to create the default TurnStateFactory to use for managing the Agent's turn state.

AgentApplicationBuilder(TurnStateFactory)

Creates the builder and uses the passed TurnStateFactory to use for managing the Agent's turn state.

Properties

Options

The application's configured options.

Methods

Build()

Builds and returns a new Application instance.

SetNormalizeMentions(Boolean)

Configures the normalization of mentions for incoming messages. Default state for normalizeMentions is true

SetRemoveRecipientMention(Boolean)

Configures the removing of mentions of the Agent's name from incoming messages. Default state for removeRecipientMention is true

SetStartTypingTimer(Boolean)

Configures the typing timer when messages are received. Default state for startTypingTimer is true

WithAdaptiveCardOptions(AdaptiveCardsOptions)

Configures the processing of Adaptive Card requests.

WithAuthorization(IChannelAdapter, UserAuthorizationOptions)

Configures user authorization for the application.

WithFileDownloaders(IList<IInputFileDownloader>)

Applies to