gpt4 book ai didi

botframework - Skype for business 中未显示卡片和选项(机器人框架)

转载 作者:行者123 更新时间:2023-12-05 00:51:22 24 4
gpt4 key购买 nike

我最近将 Skype for business channel 添加到我的机器人,但是消息中没有显示选择提示和英雄卡

   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 channel 目前处于开发人员预览版中。

official documentation :

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.

关于botframework - Skype for business 中未显示卡片和选项(机器人框架),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44307458/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com