AgentApplicationBuilder Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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>) | |