Skype for business 中未显示的卡片和选项(Bot Framework)
Cards and Choices not displayed in Skype for business (Bot Framework)
我最近将 skype for business 频道添加到我的 bot,但是消息中没有显示选择提示和英雄卡
intents.matches(/^test/, [
function (session) {
const leaves = ['Holiday', 'Medical', 'Meeting', 'Seminar'];
builder.Prompts.choice(session, 'Please select a leave request', leaves, { listStyle: builder.ListStyle.button });
},
function (session, args) {
session.endDialog(`You are taking a ${args.response.entity} leave`);
}
]);
Bot Framework 的 Skype for Business 频道目前处于开发者预览阶段。
Cards and buttons : Skype for Business does not support cards and buttons in the Developer Preview. For the Developer Preview, cards and
buttons are not shown to the user if they are sent by a bot. Cards and
buttons fallback to text support will be added soon.
我最近将 skype for business 频道添加到我的 bot,但是消息中没有显示选择提示和英雄卡
intents.matches(/^test/, [
function (session) {
const leaves = ['Holiday', 'Medical', 'Meeting', 'Seminar'];
builder.Prompts.choice(session, 'Please select a leave request', leaves, { listStyle: builder.ListStyle.button });
},
function (session, args) {
session.endDialog(`You are taking a ${args.response.entity} leave`);
}
]);
Bot Framework 的 Skype for Business 频道目前处于开发者预览阶段。
Cards and buttons : Skype for Business does not support cards and buttons in the Developer Preview. For the Developer Preview, cards and buttons are not shown to the user if they are sent by a bot. Cards and buttons fallback to text support will be added soon.