語言

IBot 介面

定義

表示可在傳入活動上運作的 Bot。

public interface IBot
type IBot = interface
Public Interface IBot
衍生

備註

A BotAdapter 將使用者通道的進出活動傳遞給機器人的方法 OnTurnAsync(ITurnContext, CancellationToken) 。

方法

名稱 Description
OnTurnAsync(ITurnContext, CancellationToken)

在 Bot 中實作時,處理傳入活動。

適用於

另請參閱