Sjo*_*len 1 botframework microsoft-teams
我更新了 Bot Framework 机器人的名称 + 图标。在 Teams 中,我看不到更新它的方法。我记得必须手动删除程序文件中的一些缓存文件夹,但想知道是否有更简单的方法(+ 来自 Web 的 Teams 中的机器人与我的本地缓存关系不大,并且而且那个也不会刷新)。
如何在 Teams 桌面 + Web 中刷新我的机器人名称 + 图标?
不幸的是,MS Teams 没有提供一种简单的方法来“刷新”机器人图标,但它是可行的。首先要认识到,发挥作用的图标有两个来源:1) 来自 Azure 中的机器人设置,2) 用于加载自定义应用程序的应用程序清单。(我无法通过 Teams 应用程序商店测试安装,但我猜它会产生与加载自定义应用程序类似的结果。)
\n\n在测试中,每个源似乎都会影响 Teams 应用程序的不同部分。如果更新 Azure 机器人设置中的机器人图标,这会更新对话机器人图标以及您键入联系人姓名时显示的机器人图标。不会更新机器人的“个人资料”和/或应用程序图像。这些必须从新的清单进行更新。
\n\n用户可以卸载并重新安装自定义加载的应用程序(机器人),但是只需在当前机器人之上安装更新的清单而不卸载似乎就可以正常工作。
\n\n最后,在这两种情况下,用户都需要清除其团队的缓存文件。以下说明解释了如何在 Windows 10 计算机上轻松完成此操作(原始帖子位于此处)。请原谅格式...markdown 与我的字母和项目符号不兼容。
\n\nIf you want to clear MS Teams cache, you could refer to the following ways:\n\n1. Fully exit the Microsoft Teams desktop client. To do this, either right click Teams from the Icon Tray and select \xe2\x80\x98Quit\xe2\x80\x99, or run Task Manager and fully kill the process.\n2. Go to File Explorer, and type in %appdata%\\Microsoft\\teams.\n3. Once in the directory, you\xe2\x80\x99ll see a few of the following folders:\n\n a. From within \xe2\x80\x98Application Cache\xe2\x80\x99, go to Cache and delete any of the files in the Cache location.\n * %appdata%\\Microsoft\\teams\\application cache\\cache\n\n b. From within \xe2\x80\x98Blob_storage\xe2\x80\x99, delete any files that are located in here if any.\n * %appdata%\\Microsoft\\teams\\blob_storage\n\n c. From within \xe2\x80\x98Cache\xe2\x80\x99, delete all files.\n * %appdata%\\Microsoft\\teams\\Cache\n\n d. From within \xe2\x80\x98databases\xe2\x80\x99, delete all files.\n * %appdata%\\Microsoft\\teams\\databases\n\n e. From within \xe2\x80\x98GPUCache\xe2\x80\x99, delete all files.\n * %appdata%\\Microsoft\\teams\\GPUcache\n\n f. From within \xe2\x80\x98IndexedDB\xe2\x80\x99, delete the .db file\n * %appdata%\\Microsoft\\teams\\IndexedDB\n\n g. From within \xe2\x80\x98Local Storage\xe2\x80\x99, delete all files.\n * %appdata%\\Microsoft\\teams\\Local Storage\n\n h. Lastly, from within \xe2\x80\x98tmp\xe2\x80\x99, delete any file.\n * %appdata%\\Microsoft\\teams\\tmp\n\n4. Once finally done clearing, you can now restart Teams from your local desktop and all cache will be cleared from the desktop app.\nRun Code Online (Sandbox Code Playgroud)\n\n通过这种方式,我已经能够更新机器人图标了。这不是一个糟糕的过程,但肯定不是一个友好的用户体验。
\n\n希望得到帮助!
\n| 归档时间: |
|
| 查看次数: |
2025 次 |
| 最近记录: |