Skype for Business中未显示的卡和选择(Bot Framework)

Car*_*ati 4 botframework

我最近将业务频道的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`);
  }
]);
Run Code Online (Sandbox Code Playgroud)

Eze*_*dib 5

Bot Framework的Skype for Business频道目前正在开发者预览版中.

根据官方文件:

卡和按钮:Skype for Business不支持开发人员预览中的卡和按钮.对于开发人员预览版,如果用户发送卡片和按钮,则不会向用户显示卡片和按钮.将很快添加卡和按钮后退到文本支持.