IBot Interface
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 bot that can operate on incoming activities.
public interface IBot
type IBot = interface
Public Interface IBot
- Derived
Remarks
A BotAdapter passes incoming activities from the user's channel to the bot's OnTurnAsync(ITurnContext, CancellationToken) method.
Methods
OnTurnAsync(ITurnContext, CancellationToken) |
When implemented in a bot, handles an incoming activity. |