Forum Discussion
NextLabs_Tiger
Oct 29, 2019Copper Contributor
block a message in Microsoft Teams
Now we plan to develop a data protection App for Microsoft Teams. One feature is block a message when the message includes someone keyword. Now we can use delegated permission and Teams itself h...
NextLabs_Tiger
Copper Contributor
Hilton Giesenow I has consult a Teams PM, the office interface is disable in his document.
you can try and test below api that I never test, maybe it can work.
PUT "https://apac.ng.msg.teams.microsoft.com/v1/
users/ME/conversations/{conversation_id}@unq.gbl.spaces/messages/{message_id}"
"{""content"":""your-text"",""messagetype"":""Text"",""contenttype"":""text"",""amsreferences"":[],""clientmessageid"":""the_origin_id"",""imdisplayname"":""the_origin_name"",""properties"":{""importance"":"""",""subject"":null}}"
0bs33
Apr 03, 2020Copper Contributor
Thanks to share your findings. In order to call above API, how did you impersonate the user? I could see, we have to pass a skypeToken which associate with user, but how can we get it.