TwilioAdapter 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,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.
可以 BotAdapter 连接到 Twilio 的 SMS 服务的 。
[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 TwilioAdapter : 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 TwilioAdapter = class
inherit BotAdapter
interface IBotFrameworkHttpAdapter
Public Class TwilioAdapter
Inherits BotAdapter
Implements IBotFrameworkHttpAdapter
- 继承
- 属性
- 实现
构造函数
TwilioAdapter(IConfiguration, TwilioAdapterOptions, ILogger) |
已过时.
使用配置设置初始化 类的新实例 TwilioAdapter 。 |
TwilioAdapter(TwilioClientWrapper, TwilioAdapterOptions, ILogger) |
已过时.
初始化 TwilioAdapter 类的新实例。 |
字段
BotIdentityKey |
已过时.
机器人标识密钥的字符串值。 (继承自 BotAdapter) |
InvokeResponseKey |
已过时.
将位于 TurnState 上的任何 InvokeResponseActivity 的键值。 (继承自 BotAdapter) |
OAuthScopeKey |
已过时.
OAuth 范围密钥的字符串值。 (继承自 BotAdapter) |
属性
MiddlewareSet |
已过时.
获取适配器管道中中间件的集合。 (继承自 BotAdapter) |
OnTurnError |
已过时.
获取或设置一个错误处理程序,该处理程序可以捕获中间件或应用程序中的异常。 (继承自 BotAdapter) |
方法
扩展方法
UseBotState(BotAdapter, BotState[]) |
已过时.
将中间件添加到适配器,以在轮次上下文中注册一个或多个 BotState 对象。 中间件在每个轮次开始时在轮次上下文中注册状态对象。 |
UseState(BotAdapter, UserState, ConversationState, Boolean) |
已过时.
|
UseStorage(BotAdapter, IStorage) |
已过时.
将中间件添加到适配器,以在轮次上下文中注册 IStorage 对象。 中间件在每个轮次开始时在轮次上下文中注册状态对象。 |