[英]Cards and Choices not displayed in Skype for business (Bot Framework)
I recently add the skype for business channel to my bot, however Choices prompts and Hero Cards are not displayed in the message 我最近将业务频道的Skype添加到我的机器人,但是选项提示和英雄卡片没有显示在消息中
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`);
}
]);
The Skype for Business channel for Bot Framework is currently under Developer Preview. Bot Framework的Skype for Business频道目前正在开发者预览版中。
Per the official documentation : 根据官方文件 :
Cards and buttons : Skype for Business does not support cards and buttons in the Developer Preview.
卡和按钮 :Skype for Business不支持开发人员预览中的卡和按钮。 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.
将很快添加卡和按钮后退到文本支持。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.