MS Teams - 自动插件集成

问题描述

我构建了一个 MS Teams 插件。如果我创建一个新会议,我必须每次手动将加载项添加到该会议。 有没有办法认将其集成到每个(新)会议中?

谢谢!

解决方法

目前没有办法在会议中集成自动插件。或者,您可以通过以下请求使用 Graph API 将活动创建为在线会议。

POST https://graph.microsoft.com/v1.0/me/events
Prefer: outlook.timezone="Pacific Standard Time"
Content-type: application/json

{
  "subject": "Let's go for lunch","body": {
    "contentType": "HTML","content": "Does noon work for you?"
  },"start": {
      "dateTime": "2017-04-15T12:00:00","timeZone": "Pacific Standard Time"
  },"end": {
      "dateTime": "2017-04-15T14:00:00","location":{
      "displayName":"Harry's Bar"
  },"attendees": [
    {
      "emailAddress": {
        "address":"samanthab@contoso.onmicrosoft.com","name": "Samantha Booth"
      },"type": "required"
    }
  ],"allowNewTimeProposals": true,"isOnlineMeeting": true,"onlineMeetingProvider": "teamsForBusiness"
}  

请浏览此documentation了解更多信息。