Class AgentApplicationOptions
Options for the AgentApplication class.
public class AgentApplicationOptions
- Inheritance
-
AgentApplicationOptions
- Inherited Members
Constructors
AgentApplicationOptions()
public AgentApplicationOptions()
AgentApplicationOptions(IServiceProvider, IConfiguration, IChannelAdapter, IStorage, UserAuthorizationOptions, AdaptiveCardsOptions, ILoggerFactory, IList<IInputFileDownloader>, string)
Creates AgentApplicationOptions from IConfiguration and DI.
public AgentApplicationOptions(IServiceProvider sp, IConfiguration configuration, IChannelAdapter channelAdapter, IStorage storage = null, UserAuthorizationOptions authOptions = null, AdaptiveCardsOptions cardOptions = null, ILoggerFactory loggerFactory = null, IList<IInputFileDownloader> fileDownloaders = null, string configKey = "AgentApplication")
Parameters
sp
IServiceProviderconfiguration
IConfigurationchannelAdapter
IChannelAdapterstorage
IStorageThe IStorage used by UserAuthorization.
authOptions
UserAuthorizationOptionscardOptions
AdaptiveCardsOptionsloggerFactory
ILoggerFactoryfileDownloaders
IList<IInputFileDownloader>configKey
string
Properties
Adapter
public IChannelAdapter? Adapter { get; set; }
Property Value
AdaptiveCards
Optional. Options used to customize the processing of Adaptive Card requests.
public AdaptiveCardsOptions? AdaptiveCards { get; set; }
Property Value
FileDownloaders
Optional. Array of input file download plugins to use.
public IList<IInputFileDownloader>? FileDownloaders { get; set; }
Property Value
LoggerFactory
Optional. Logger factory that will be used in this application.
public ILoggerFactory? LoggerFactory { get; set; }
Property Value
NormalizeMentions
Optional. If true, the Agent will automatically normalize mentions across channels. Defaults to true.
public bool NormalizeMentions { get; set; }
Property Value
RemoveRecipientMention
Optional. If true, the Agent will automatically remove mentions of the Agents name from incoming messages. Defaults to true.
public bool RemoveRecipientMention { get; set; }
Property Value
StartTypingTimer
Optional. If true, the Agent will automatically start a typing timer when messages are received. This allows the Agent to automatically indicate that it's received the message and is processing the request. Defaults to true.
public bool StartTypingTimer { get; set; }
Property Value
TurnStateFactory
Optional. Factory used to create a custom turn state instance.
public Func<ITurnState>? TurnStateFactory { get; set; }
Property Value
UserAuthorization
Optional. Options used to enable user authorization for the application.
public UserAuthorizationOptions UserAuthorization { get; set; }