Skip to content

generator-teams@3.5.0

Compare
Choose a tag to compare
@RickVanRousselt RickVanRousselt released this 18 Nov 09:23
9e2731f

Changes

  • Updated telemetry, see https://github.com/pnp/generator-teams/blob/master/docs/docs/about/telemetry.md
  • Updated the bot template files to better reflect the official Bot Framework samples
  • Changed the bot template to better align with the official Bot Framework samples which now includes the following files:
    • {botClassName}.ts containing the bot declaration from express-msteams-host and the onMembersAdded method for handling and greeting new users with an Adaptive Card
    • dialogBot.ts containing the onMessage method which runs the root dialog(mainDialog)
    • dialogs\mainDialog.ts containing the logic of handling different user inputs and calling the following child dialogs based on different inputs:
      • dialogs\helpDialog.ts responding with help information/instructions
      • dialogs\mentionUserDialog.ts responing with an @mention of the user who asked the bot to do so
      • dialogs\teamsInfoDialog.ts responding with the user's name, ID and email address coming from the TeamsInfo.getMember() method