大家好,我一直在尝试默认启用我的机器人,该机器人需要直接安装到 Microsoft 团队的频道。以下是我的应用清单在团队中的架构
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.11/MicrosoftTeams.schema.json",
"manifestVersion": "1.11",
"version": "1.6",
"id": "xxxx-xxxxxx-xxxxxx-xxxxx",
"packageName": "com.xxxxx.microsoftteams.jira",
"developer": {
"name": "xxxxxxx",
"websiteUrl": "https://www.xxxxx.com",
"privacyUrl": "https://www.xxxxx.com/privacy",
"termsOfUseUrl": "https://www.xxxxx.com/license",
"mpnId": "xxxxx"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "xxxx",
"full": "xxxx"
},
"description": {
"short": "xxxxx",
"full": "xxxxxx"
},
"accentColor": "#FFFFFF",
"configurableTabs": [],
"staticTabs": [
{
"entityId": "conversations",
"scopes": [
"personal"
]
},
{
"entityId": "about",
"scopes": [
"personal"
]
},
{
"entityId": "xx",
"name": "xx",
"scopes": [
"personal"
]
}
],
"bots": [
{
"botId": "xxx-xxxx-xxxx-xxxx",
"scopes": [
"personal",
"team",
"groupchat"
],
"supportsFiles": false,
"isNotificationOnly": false
}
],
"composeExtensions": [
{
"botId": "xxx-xxxx-xxxx-xxxx",
"canUpdateConfiguration": false,
"commands": [
{
"id": "search",
"type": "query",
"title": "Search",
"description": "Search for issues in xxx",
"initialRun": true,
"fetchTask": false,
"context": [
"commandBox",
"compose"
],
"parameters": [
{
"name": "search",
"title": "Search",
"description": "Search",
"inputType": "text"
}
]
}
]
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"defaultInstallScope": "team",
"defaultGroupCapability": {
"meetings": "bot",
"team": "bot",
"groupchat": "bot"
},
"validDomains": [
"xxx",
],
"webApplicationInfo": {
"id": "xxx-xxxx-xxxx",
"resource": "http://"
}
}
因此,如果您仔细查看,您会发现我已添加defaultInstallScope
以将安装路由到团队,并且defaultGroupCapability
有团队指定它应该将机器人安装到团队。但它不起作用。请问有人知道这件事吗?