Share via


CommandOptions interface

Warning

This API is now deprecated.

This package will be deprecated by 2026-07. Please use Microsoft 365 Agents SDK instead.

Options to initialize CommandBot.

Properties

commands

The commands to registered with the command bot. Each command should implement the interface TeamsFxBotCommandHandler so that it can be correctly handled by this command bot.

ssoCommands

The commands to registered with the sso command bot. Each sso command should implement the interface TeamsFxBotSsoCommandHandler so that it can be correctly handled by this command bot.

Property Details

commands

The commands to registered with the command bot. Each command should implement the interface TeamsFxBotCommandHandler so that it can be correctly handled by this command bot.

commands?: TeamsFxBotCommandHandler[]

Property Value

ssoCommands

The commands to registered with the sso command bot. Each sso command should implement the interface TeamsFxBotSsoCommandHandler so that it can be correctly handled by this command bot.

ssoCommands?: TeamsFxBotSsoCommandHandler[]

Property Value