ChoiceOptionsSet class
设置 ChoiceFactoryOptions。
构造函数
Choice |
初始化 ChoiceOptionsSet 类的新实例。 |
属性
include |
|
inline |
|
inline |
|
inline |
方法
bind(Dialog |
将数据绑定到模板。 |
构造函数详细信息
ChoiceOptionsSet(any)
属性详细信息
includeNumbers
includeNumbers?: boolean
属性值
boolean
inlineOr
inlineOr?: string
属性值
string
inlineOrMore
inlineOrMore?: string
属性值
string
inlineSeparator
inlineSeparator?: string
属性值
string
方法详细信息
bind(DialogContext, any)
将数据绑定到模板。
function bind(dialogContext: DialogContext, data?: any): Promise<ChoiceFactoryOptions>
参数
- dialogContext
-
DialogContext
DialogContext
- data
-
any
要绑定到的数据。
返回
Promise<ChoiceFactoryOptions>
数据绑定的 ChoiceFactoryOptions。