MS Teams - 自动插件集成

MS Teams - automatic addin integration

我建立了一个 MS Teams Add-In。如果我创建一个新会议,我必须每次手动添加 Add-In 到这个会议。 有什么方法可以默认将它集成到每个(新)会议中吗?

谢谢!

目前无法在会议中集成自动插件。或者,您可以使用 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",
      "timeZone": "Pacific Standard Time"
  },
  "location":{
      "displayName":"Harry's Bar"
  },
  "attendees": [
    {
      "emailAddress": {
        "address":"samanthab@contoso.onmicrosoft.com",
        "name": "Samantha Booth"
      },
      "type": "required"
    }
  ],
  "allowNewTimeProposals": true,
  "isOnlineMeeting": true,
  "onlineMeetingProvider": "teamsForBusiness"
}  

请仔细阅读此 documentation 了解更多信息。