Mat Stankiewicz
Mat Stankiewicz
Hey @Polkien were you able to make progress using the team roster API?
@Polkien yes this would be teams specific since other channels might not have a notion of email for a user.
@vkapur I do not believe so.
You will need to call the roster to get the email address. It isn't available at the time of receiving a message unfortunately
This is how the BotBuilder SDK does it: https://github.com/OfficeDev/BotBuilder-MicrosoftTeams-node/blob/922d14e660cf5c5b9e510617b4cd01084483593d/samples/teams-bot/src/bot.ts#L63
That usually happens if you are asking in a conversation where the bot has not been installed.
Are you testing using sideloading? https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/apps/apps-upload