小编Car*_*ati的帖子

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

我最近将业务频道的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)

botframework

4
推荐指数
1
解决办法
683
查看次数

标签 统计

botframework ×1