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 http API(https://apac.msgapi.teams.microsoft.com/v1/users/ME/conversations/******/messages/******?behavior=softDelete) to delete the message, but it not friendly to Teams Users, We try found a better method to implement it.
We found nothing but some similar production like Mcafee and Smarsh released on MS Office website they have implemented block-message function, like below picture:
We asked the same question on SOF: https://stackoverflow.com/questions/58602003/how-to-block-a-message-in-microsoft-teams. Could someone tell us how to implement the function, Thanks very much.
Another, we do remove a chat participant by the same way. Is there any track to remove a chat participant directly