简体   繁体   English

在团队中创建新频道时的 Microsoft 图形通知

[英]Microsoft graph notification when new channel created in teams

I would like to receive a webhook notification when a new channel is created in a group in microsoft teams.当在 microsoft 团队的组中创建新频道时,我希望收到 webhook 通知。

I already implemented receiving notifications when user is added to a group through teams (using this API - https://docs.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0 ).当用户通过团队添加到组时,我已经实现了接收通知(使用此 API - https://docs.microsoft.com/en-us/graph/api/resources/subscription?view=graph-rest-1.0 )。 Unfortunately, it seems like group subscription is not triggered when a new channel is added.不幸的是,添加新频道时似乎没有触发群组订阅。

Is there any other subscription I can use?我可以使用其他订阅吗? Thank you in advance.先感谢您。

If you have the possibility to add a bot to the Team, then bots can receive this using the bot event mechanisms.如果您有可能将机器人添加到团队,那么机器人可以使用机器人事件机制接收此信息。 Have a look at Handle bot events , and in particular this section .查看Handle bot 事件,尤其是本节 Once your bot has received the notification, you can of course do whatever you need to do.一旦你的机器人收到通知,你当然可以做任何你需要做的事情。

Subscribing to channel events is not supported today by Microsoft graph. Microsoft graph 目前不支持订阅频道事件。 You can upvote the following idea to help prioritize efforts and also be notified whenever progress is made.您可以投票支持以下想法,以帮助确定工作的优先级,并在取得进展时收到通知。

https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests/suggestions/37288522-microsoft-teams-create-channel-with-a-webhook https://microsoftgraph.uservoice.com/forums/920506-microsoft-graph-feature-requests/suggestions/37288522-microsoft-teams-create-channel-with-a-webhook

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 Microsoft Teams 频道 email 地址、SharePoint 和使用 Graph 创建团队时文件不可访问 Api - Microsoft Teams channel email address, SharePoint and files are inaccessible when the team is created using Graph Api MS Teams 频道在由 MS Graph API 请求创建时被隐藏 - MS Teams channel is hidden when created by MS Graph API request 图表 API:Microsoft Teams 频道中应用的 ContentUrl - Graph API: ContentUrl of apps in Microsoft Teams Channel 使用 Microsoft Graph 将消息发送到团队频道时出现问题 - Problem to send message to teams channel with Microsoft graph microsoft graph BETA 使用 isfavoritebydefault 添加 Microsoft Teams 频道 - microsoft graph BETA add Microsoft Teams channel with isfavoritebydefault 在 Microsoft Teams 中使用 Microsoft Graph API 列出私人团队频道成员 - List private team channel members with Microsoft Graph API in Microsoft Teams 阅读 Microsoft Teams 频道消息(Microsoft graph API、C#) - Read Microsoft Teams channel messages (Microsoft graph API, C#) 使用 v1.0 团队图 API 创建 Microsoft Teams 团队时获取频道名称不能为空 - Getting channel name must not be empty when creating Microsoft Teams team using the v1.0 teams Graph API 从 Microsoft Teams 频道向 web service(java) 发送消息通知 - Send message notification to web service(java) from Microsoft Teams channel 无法使用 Graph API 向 Microsoft 团队频道发布消息 - Unable to post message to Microsoft teams channel using Graph API
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM