语言

FacebookClientWrapper 类

定义

注意

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.

用于与Facebook API交互的客户端。

[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 FacebookClientWrapper
[<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 FacebookClientWrapper = class
Public Class FacebookClientWrapper
继承
FacebookClientWrapper
属性

构造函数

名称 说明
FacebookClientWrapper(FacebookClientWrapperOptions)
已过时.

初始化 FacebookClientWrapper 类的新实例。

方法

名称 说明
GetAppSecretProof()
已过时.

生成用于提升调用 图形 API 安全性的应用秘密证明。

PassThreadControlAsync(String, String, String, CancellationToken)
已过时.

将pass_thread_control的Webhook事件发送到Facebook。

PostToFacebookApiAsync(String, String, CancellationToken)
已过时.

将webhook控制事件发布到Facebook。

RequestThreadControlAsync(String, String, CancellationToken)
已过时.

将request_thread_control webhook 事件发送到 Facebook。

SendMessageAsync(String, FacebookMessage, HttpMethod, CancellationToken)
已过时.

向Facebook发送了REST消息。

TakeThreadControlAsync(String, String, CancellationToken)
已过时.

将take_thread_control webhook事件发送到 Facebook。

VerifySignature(HttpRequest, String)
已过时.

在 bodyParser 解析前验证原始请求负载的 SHA1 签名,如果签名无效,则会中止解析,并向响应传递通用错误。

VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken)
已过时.

验证消息中的验证令牌。 如果标记与配置的标记匹配,则返回挑战。

适用于