次の方法で共有


FacebookAdapter クラス

定義

注意事項

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 を使用すると、Facebook API を介して Facebook アプリのペイロードと応答を処理できます。

[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 FacebookAdapter : 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 FacebookAdapter = class
    inherit BotAdapter
    interface IBotFrameworkHttpAdapter
Public Class FacebookAdapter
Inherits BotAdapter
Implements IBotFrameworkHttpAdapter
継承
FacebookAdapter
属性
実装

コンストラクター

FacebookAdapter(FacebookClientWrapper, FacebookAdapterOptions, ILogger)
古い.

既存の Facebook クライアントを使用して、 FacebookAdapter クラスの新しいインスタンスを初期化します。

FacebookAdapter(IConfiguration, FacebookAdapterOptions, ILogger)
古い.

構成設定を使用して、 クラスの FacebookAdapter 新しいインスタンスを初期化します。

フィールド

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

会話参照を使用して、プロアクティブ メッセージを会話に送信します。

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

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

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

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

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

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

(継承元 BotAdapter)
CreateFacebookMessageFromActivity(Activity)
古い.

Facebook に送信する のFacebookMessageActivityインスタンスを作成するファクトリ メソッド。

DeleteActivityAsync(ITurnContext, ConversationReference, CancellationToken)
古い.

常に NotImplementedException 例外をスローします。

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

ターン コンテキストを作成し、受信 TRUSTED アクティビティのミドルウェア パイプラインを実行します。

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

受信 Webhook 要求を受け入れ、ターン コンテキストを作成し、受信 TRUSTED アクティビティのミドルウェア パイプラインを実行します。

RunPipelineAsync(ITurnContext, BotCallbackHandler, CancellationToken)
古い.

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

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

会話にアクティビティを送信します。

UpdateActivityAsync(ITurnContext, Activity, CancellationToken)
古い.

常に NotImplementedException 例外をスローします。

Use(IMiddleware)
古い.

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

(継承元 BotAdapter)

拡張メソッド

UseBotState(BotAdapter, BotState[])
古い.

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

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

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

UseStorage(BotAdapter, IStorage)
古い.

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

適用対象