Share via


CommandBot(BotAdapter, CommandOptions) Constructor

Definition

Initializes a new instance of the CommandBot class.

public CommandBot (Microsoft.Bot.Builder.BotAdapter adapter, Microsoft.TeamsFx.Conversation.CommandOptions options);
new Microsoft.TeamsFx.Conversation.CommandBot : Microsoft.Bot.Builder.BotAdapter * Microsoft.TeamsFx.Conversation.CommandOptions -> Microsoft.TeamsFx.Conversation.CommandBot
Public Sub New (adapter As BotAdapter, options As CommandOptions)

Parameters

adapter
BotAdapter

The bot adapter.

options
CommandOptions

The initialize options.

Exceptions

adapter or options is null.

Applies to