NotificationBot(BotAdapter, NotificationOptions) Constructor
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.
Create new instance of the NotificationBot.
public NotificationBot (Microsoft.Bot.Builder.BotAdapter adapter, Microsoft.TeamsFx.Conversation.NotificationOptions options);
new Microsoft.TeamsFx.Conversation.NotificationBot : Microsoft.Bot.Builder.BotAdapter * Microsoft.TeamsFx.Conversation.NotificationOptions -> Microsoft.TeamsFx.Conversation.NotificationBot
Public Sub New (adapter As BotAdapter, options As NotificationOptions)
Parameters
- adapter
- BotAdapter
The bot adapter.
- options
- NotificationOptions
The initialize options.
Exceptions
Throws if provided parameter is null.
Throws if provided parameter is invalid.