问题
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