次の方法で共有


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.

BotAdapter を使用すると、Webex Teams API を介して Webex Teams アプリのペイロードと応答を処理できます。

[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
古い.

ボット ID キーの文字列値。

(継承元 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 アクティビティのミドルウェア パイプラインを実行します。

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

受信 Webhook HttpRequest を受け入れ、ボット TurnContext のロジックで処理できる に変換します。

RunPipelineAsync(ITurnContext, BotCallbackHandler, CancellationToken)
古い.

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

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

ボットからメッセージング API にメッセージを送信する Standard BotBuilder アダプター メソッド。

UpdateActivityAsync(ITurnContext, Activity, CancellationToken)
古い.

前のメッセージを更新するための Standard BotBuilder アダプター メソッド。

Use(IMiddleware)
古い.

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

(継承元 BotAdapter)

拡張メソッド

UseBotState(BotAdapter, BotState[])
古い.

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

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

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

UseStorage(BotAdapter, IStorage)
古い.

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

適用対象