Cards and Choices not displayed in Skype for business (Bot Framework)

Viewed 690

I recently add the skype for business channel to my bot, however Choices prompts and Hero Cards are not displayed in the message

   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`);
  }
]);
1 Answers
Related