Forum Discussion
JulianTrei
May 16, 2022Copper Contributor
Send information from teams app to user
Hey all I have a form in my teams app. Information entered into the form should be sent to a user in Teams. What would be the best way to do this? I've looked into bots and the graph api but I'm...
- May 17, 2022
first you can use people picker to get aad id of member to send
Integrate People Picker - Teams | Microsoft Docs
and use graph api to creat chat and send message with that member
Create chat - Microsoft Graph v1.0 | Microsoft Docs
Thanks,
Nivedipa
-----------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
JulianTrei
May 17, 2022Copper Contributor
I have a html form in a tab and want to send the information to one-on-one chat.
Right now I have to create a channel for each person who could be a recipient, create an incoming webhook for each channel and save the webhook url to our CMS. This was only I hotfix I implemented a week ago but since the number of potential recipients is growing I need to find a solution to handle this.
Right now I have to create a channel for each person who could be a recipient, create an incoming webhook for each channel and save the webhook url to our CMS. This was only I hotfix I implemented a week ago but since the number of potential recipients is growing I need to find a solution to handle this.
Nivedipa-MSFT
Microsoft
May 17, 2022first you can use people picker to get aad id of member to send
Integrate People Picker - Teams | Microsoft Docs
and use graph api to creat chat and send message with that member
Create chat - Microsoft Graph v1.0 | Microsoft Docs
Thanks,
Nivedipa
-----------------------------------------------------------------------------------
If the response is helpful, please click "**Mark as Best Response**" and like it. You can share your feedback via Microsoft Teams Developer Feedback link.
- JulianTreiMay 17, 2022Copper ContributorThanks a lot. This will help focus my attention on the solution without getting distracted by the bot framework solution!