我正在为 Microsoft Teams 创建自定义连接器。我基于 github 教程 repo 创建了一个。一切正常,但是当我点击保存按钮时,没有任何反应,似乎 saveEvent.notifySuccess() 不起作用。我将 React 用于配置页面。
任何帮助将不胜感激。
配置页面 MSTeam 实现: 配置页面 MSTeam 实现
快递服务器saveConfig: 快递服务器saveConfig
保存后的画面: 保存后的画面
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.3/MicrosoftTeams.schema.json",
"manifestVersion": "1.3",
"version": "1.0.0",
"id": "23772851-b720-4f99-ae35-3531957cb1c7",
"packageName": "com.demo.test",
"developer": {
"name": "Laxman Sharma",
"websiteUrl": "https://www.google.com",
"privacyUrl": "https://www.google.com/",
"termsOfUseUrl": "https://www.google.com/"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Test",
"full": ""
},
"description": {
"short": "Test Connector App",
"full": "This app allows the team tp quickly do something."
},
"accentColor": "#40497E",
"bots": [
{
"botId": "5e55cea4-4efc-4eec-9156-c6aa78b1622c",
"scopes": [
"personal",
"team"
],
"supportsFiles": false,
"isNotificationOnly": true
}
],
"connectors": [
{
"connectorId": "f1014037-dad1-4da2-83af-479708155849",
"configurationUrl": "https://e48f6f19.ngrok.io/",
"scopes": [
"team"
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": [
"e48f6f19.ngrok.io"
]
}