FacebookClientWrapper 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
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) |
已过时.
将 REST 消息发送到 Facebook。 |
TakeThreadControlAsync(String, String, CancellationToken) |
已过时.
将 take_thread_control Webhook 事件发送到 Facebook。 |
VerifySignature(HttpRequest, String) |
已过时.
在 bodyParser 分析之前验证原始请求有效负载的 SHA1 签名,如果签名无效,它将中止分析,并将一般错误传递给响应。 |
VerifyWebhookAsync(HttpRequest, HttpResponse, CancellationToken) |
已过时.
验证消息中的验证令牌。 如果令牌与配置的令牌匹配,请发送回质询。 |