Maps and options not visible in Skype for Business (Bot Framework)

I recently added skype for the business channel to my bot, however selection 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`);
  }
]);

      

+3


source to share


1 answer


The Skype for Business Channel for Bot Platform is currently under Developer Preview.

In the official documentation :



Maps and buttons . Skype for Business does not support maps and buttons in Preview Preview. For developer preview, maps and buttons are not displayed to the user if submitted by a bot. Maps and backback to text buttons will be added shortly.

+5


source







All Articles