Share via


NotificationBot(BotAdapter, NotificationOptions) Constructor

Definition

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.

Applies to