Is there any possible way to read message in ms teams before clicking the send button

Pushpanjay Umrao 161 Reputation points
2020-11-03T15:45:48.837+00:00

37233-teamsimage.pngI am trying to create a teams app that will detect the message that user has typed in before the message is sent on clicking the send button or on the send button click event or before the recipient receives the message. The idea is to read the message and using AI grammatically correct the text or detect if any inappropriate message is being sent that violets office rules, kind of like Grammarly. My question is it possible to detect this text through any possible means like graph api. i am open to any suggestion, not just teams app it can be some kind of windows application that can interact with teams app . Will be taking care of AI part myself.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,258 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,334 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Varaprasad-MSFT 81 Reputation points
    2020-11-03T18:04:25.223+00:00

    @Pushpanjay Umrao , Currently this is not possible. You can raise an uservoice if this need to consider as future product.

    0 comments No comments

  2. Sharon Zhao-MSFT 25,101 Reputation points Microsoft Vendor
    2020-11-04T06:05:52.517+00:00

    @Pushpanjay Umrao ,

    As we are mainly responsible for general issue of Microsoft Teams. Your question which is involved in development is not supported by us. I would remove the office-teams-windows-itpro tag.

    Besides, you can learn something about Microsoft Teams: Apps for developer in this link: https://www.microsoft.com/microsoft-365/partners/teams-apps-for-developers. Hope it will be helpful.


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.