简体   繁体   中英

Microsoft teams, how to recive messages to node.js server?

I am trying to get messageContent from microsoft Graph-Api. I am using subscribtion notification that return me a data resources when message occure in specyfic team in ms teams. With helps this data i can use GET /teams/{team-id}/channels/{channel-id}/messages/{message-id} . If i undestand corretly i need protected Api to make it

Is it possible to do get access to protected api without azure paid subscription? Maybe exist other method to get message content?

No need for Azure paid subscription to access the protected api. These APIs require that you have additional validation beyond permissions and consent before you can use them.

To request access to these protected APIs, complete the following request form .

Reference Document- https://learn.microsoft.com/en-us/graph/teams-protected-apis#request-access-to-protected-apis

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM