How to get member added event or channel created event in MS Teams

删除回忆录丶 提交于 2019-12-11 15:29:02

问题


member added & channel created event in Teams

I want to get the details like above, for example, adding member into one team OR creating new channel.

I try List Channel Messages API, but the response have no relative details, just some chat messages details:

List Channel Messages API: GET https://graph.microsoft.com/beta/teams/{group-id-for-teams}/channels/{channel-id}/messages

Is there method to achieve the needs, Thanks.


回答1:


There is currently no way to use MS Graph to subscribe to these events. You can however use a bot to subscribe and respond to them.

See: https://docs.microsoft.com/en-us/microsoftteams/platform/concepts/bots/bots-notifications



来源:https://stackoverflow.com/questions/58284205/how-to-get-member-added-event-or-channel-created-event-in-ms-teams

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!