我正在尝试将图像文件发送到Microsoft Teams中的机器人。问题是“上传”按钮没有显示在个人范围内。
我已在清单中添加了supportFiles标记,并增加了版本,以便重新安装时触发更改。 这是我的清单:
{
"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.3/MicrosoftTeams.schema.json",
"manifestVersion": "1.3",
"version": "1.0.1",
"id": "738xxxxxxxx",
"packageName": "-",
"developer": {
"name": "AAA",
"websiteUrl": "https://aaa.azurewebsites.net",
"privacyUrl": "https://aaa.azurewebsites.net",
"termsOfUseUrl": "https://aaa.azurewebsites.net"
},
"icons": {
"color": "color.png",
"outline": "outline.png"
},
"name": {
"short": "Asistente Virtual",
"full": "Asistente Virtual en Teams"
},
"description": {
"short": "VA",
"full": "VA en Teams"
},
"accentColor": "#267938",
"bots": [
{
"botId": "95dbxxxxxxxxxxx",
"scopes": [
"personal",
"team"
],
"supportsFiles": true
}
],
"permissions": [
"identity",
"messageTeamMembers"
],
"validDomains": []
}
我在official documentation中找不到其他可能引起问题的东西。
编辑:我已经意识到,聊天(个人范围)的“关于选项卡”中仍然显示旧版本(1.0.0)。但是,如果我通过我的应用程序访问我的机器人,它将显示版本1.0.1。无论如何,“上传”按钮都不会显示。