WebexAdapter クラス

定義

注意事項

The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.

Webex Teams APIを通じてWebex Teamsアプリのペイロードや応答を処理できるようにするBotAdapter。

[System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")]
public class WebexAdapter : Microsoft.Bot.Builder.BotAdapter, Microsoft.Bot.Builder.Integration.AspNet.Core.IBotFrameworkHttpAdapter
[<System.Obsolete("The Bot Framework Adapters will be deprecated in the next version of the Bot Framework SDK and moved to https://github.com/BotBuilderCommunity/botbuilder-community-dotnet. Please refer to their new location for all future work.")>]
type WebexAdapter = class
    inherit BotAdapter
    interface IBotFrameworkHttpAdapter
Public Class WebexAdapter
Inherits BotAdapter
Implements IBotFrameworkHttpAdapter
継承
WebexAdapter
属性
実装

コンストラクター

名前 説明
WebexAdapter(IConfiguration, WebexAdapterOptions, ILogger)
古い.

設定設定を使って WebexAdapter クラスの新しいインスタンスを初期化します。

WebexAdapter(WebexClientWrapper, WebexAdapterOptions, ILogger)
古い.

WebexAdapter クラスの新しいインスタンスを初期化します。 Webexアダプターを作成します。

フィールド

名前 説明
BotIdentityKey
古い.

ボット識別キーの文字列値。

(継承元 BotAdapter)
InvokeResponseKey
古い.

TurnState上にある任意のInvokeResponseActivityのキー値です。

(継承元 BotAdapter)
OAuthScopeKey
古い.

OAuthのスコープキーの文字列値です。

(継承元 BotAdapter)

プロパティ

名前 説明
MiddlewareSet
古い.

アダプターのパイプライン内のミドルウェアのコレクションを取得します。

(継承元 BotAdapter)
OnTurnError
古い.

ミドルウェアやアプリケーションの例外をキャッチできるエラーハンドラを取得したり設定したりします。

(継承元 BotAdapter)

メソッド

名前 説明
ContinueConversationAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)
古い.

プロアクティブ メッセージを会話に送信します。

(継承元 BotAdapter)
ContinueConversationAsync(ClaimsIdentity, Activity, String, BotCallbackHandler, CancellationToken)
古い.

プロアクティブ メッセージを会話に送信します。

(継承元 BotAdapter)
ContinueConversationAsync(ClaimsIdentity, ConversationReference, BotCallbackHandler, CancellationToken)
古い.

ボットから会話にプロアクティブ メッセージを送信します。

ContinueConversationAsync(ClaimsIdentity, ConversationReference, String, BotCallbackHandler, CancellationToken)
古い.

プロアクティブ メッセージを会話に送信します。

(継承元 BotAdapter)
ContinueConversationAsync(ConversationReference, BotCallbackHandler, CancellationToken)
古い.

会話参照に基づいて既存の会話を続けるための標準的なBotBuilderアダプターメソッド。

ContinueConversationAsync(String, Activity, BotCallbackHandler, CancellationToken)
古い.

プロアクティブ メッセージを会話に送信します。

(継承元 BotAdapter)
ContinueConversationAsync(String, ConversationReference, BotCallbackHandler, CancellationToken)
古い.

プロアクティブ メッセージを会話に送信します。

(継承元 BotAdapter)
CreateConversationAsync(String, String, String, String, ConversationParameters, BotCallbackHandler, CancellationToken)
古い.

指定したチャネルに会話を作成します。

(継承元 BotAdapter)
DeleteActivityAsync(ITurnContext, ConversationReference, CancellationToken)
古い.

以前のメッセージを削除するための標準的なBotBuilderアダプター方法。

ProcessActivityAsync(ClaimsIdentity, Activity, BotCallbackHandler, CancellationToken)
古い.

ターンコンテキストを作成し、受信するTRUSTED Activityに対してミドルウェアパイプラインを実行します。

(継承元 BotAdapter)
ProcessAsync(HttpRequest, HttpResponse, IBot, CancellationToken)
古い.

届くウェブフック HttpRequest を受け入れ、ボットのロジックで処理可能な TurnContext に変換します。

RunPipelineAsync(ITurnContext, BotCallbackHandler, CancellationToken)
古い.

現在のボット ターンのアクティビティ処理を開始します。

(継承元 BotAdapter)
SendActivitiesAsync(ITurnContext, Activity[], CancellationToken)
古い.

BotからメッセージングAPIへメッセージを送信するための標準的なBotBuilderアダプターメソッド。

UpdateActivityAsync(ITurnContext, Activity, CancellationToken)
古い.

以前のメッセージを更新するための標準的なBotBuilderアダプターメソッド。

Use(IMiddleware)
古い.

アダプターのパイプラインにミドルウェアを追加します。

(継承元 BotAdapter)

拡張メソッド

名前 説明
UseBotState(BotAdapter, BotState[])
古い.

ターンコンテキストに1つ以上のオブジェクトを登録するためのミドルウェアを追加 BotState 。 ミドルウェアは各ターン開始時にターンコンテキスト上の状態オブジェクトを登録します。

UseState(BotAdapter, UserState, ConversationState, Boolean)
古い.

ユーザーおよび会話状態オブジェクトをアダプタで登録します。 これらのオブジェクトはターンコンテキストの TurnState.Get<T>() メソッドで利用可能です。

UseStorage(BotAdapter, IStorage)
古い.

ターンコンテキストで IStorage オブジェクトを登録するためのミドルウェアをアダプターに追加します。 ミドルウェアは各ターン開始時にターンコンテキスト上の状態オブジェクトを登録します。

適用対象