英文:
Microsoft teams, how to recive messages to node.js server?
问题
我正在尝试从Microsoft Graph API获取messageContent。我正在使用订阅通知,在特定的Microsoft Teams团队中发生消息时返回数据资源给我。借助这些数据,我可以使用以下方法:
GET /teams/{team-id}/channels/{channel-id}/messages/{message-id}
如果我理解正确,我需要受保护的API才能实现这一点。是否可以在没有Azure付费订阅的情况下访问受保护的API?也许存在其他获取消息内容的方法?
英文:
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?
答案1
得分: 0
无需Azure付费订阅即可访问受保护的API。
这些API要求您在使用它们之前除了权限和同意之外还需要额外的验证。
要请求访问这些受保护的API,请完成以下请求表单。
参考文档-https://learn.microsoft.com/en-us/graph/teams-protected-apis#request-access-to-protected-apis
英文:
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
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论