A Yeoman Generator for Microsoft Teams
m365DevPreview
manifestbot
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 CarddialogBot.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/instructionsdialogs\mentionUserDialog.ts
responing with an @mention of the user who asked the bot to do sodialogs\teamsInfoDialog.ts
responding with the user's name, ID and email address coming from the TeamsInfo.getMember() method