CommandBot Class

Definition

Represents a command bot to handle commands received from Teams.

public class CommandBot
type CommandBot = class
Public Class CommandBot
Inheritance
CommandBot

Constructors

CommandBot(BotAdapter, CommandOptions)

Initializes a new instance of the CommandBot class.

Properties

CommandHandlers

Gets the registered command handlers of this command bot.

Methods

RegisterCommand(ITeamsCommandHandler)

Registers a command to the command bot.

RegisterCommands(IList<ITeamsCommandHandler>)

Registers a set of commands to the command bot.

Applies to