Share via


IBot Interface

Definition

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.

Applies to

See also