Send Message as User/Bot Using Graph API Based on User’s Email Existence in Microsoft Teams Channel
I’m working on a project that involves sending messages to a Microsoft Teams channel using the Microsoft Graph API. I have a specific requirement where:
If a user’s email exists in the teams channel, the message should be sent as a reply from that user.
If the user’s email doesn’t exist in the channel, the message should be sent from a bot or a service account.
How to get SSO token in TeamsActivityHandler.handleTeamsMessagingExtensionSubmitActionDispatch
I have a scenario where the user can select my application in MS team. There is a command that user can select people using people picker in Adaptive card when they submit it will trigger backend API