TeamsApplicationBuilder 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 Application instance.
public class TeamsApplicationBuilder
type TeamsApplicationBuilder = class
Public Class TeamsApplicationBuilder
- Inheritance
-
TeamsApplicationBuilder
Constructors
| TeamsApplicationBuilder(IStorage) |
Empty constructor for manual configuration |
| TeamsApplicationBuilder(TeamsAgentApplicationOptions) |
Initializes a new instance of the TeamsApplicationBuilder class with the specified options. |
Properties
| Options |
The application's configured options. |
Methods
| Build() |
Builds and returns a new Application instance. |
| SetRemoveRecipientMention(Boolean) |
Configures the removing of mentions of the bot'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. |
| WithAIOptions(AIOptions) |
Configures the AI system to use for processing incoming messages. |
| WithLongRunningMessages(IChannelAdapter, String) |
Configures the application to use long running messages. Default state for longRunningMessages is false |
| WithStorage(IStorage) |
Configures the storage system to use for storing the bot's state. |
| WithTurnStateFactory(Func<ITurnState>) |
Configures the turn state factory to use for managing the bot's turn state. |