CommandBot Class
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.
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. |