是否可以将其他品牌不同的机器人加载到Teams应用中? [英] Is it possible to load another bot with different branding to a Teams app?

查看:185
本文介绍了是否可以将其他品牌不同的机器人加载到Teams应用中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Bot框架中有一个Bot,例如NameOne.该应用程序已经发布,我希望保持这种状态.但是,此外,客户希望使用完全相同的漫游器,但具有不同的图标+名称.有没有办法重新包装该机器人?

I have a bot, let's say, NameOne in the bot framework. The app is already published an I wish to keep it that way. However, additionally, a customer wants the exact same bot but with different icon + Name. Is there a way to repackage this bot?

注意:仅将其添加到清单编辑器中只会更改通知和其他位置中的漫游器名称+图标,而不会更改主聊天区域中的bot名称+图标.

Note: Just adding it to manifest editor only changes the bot name + icon in the notifications and some other places, but not in the main chat area.

推荐答案

没有简单的方法可以做到这一点. Teams使用App ID来区分机器人,因此您必须:

There isn't an easy way to do this, no. Teams uses the App Id to distinguish the bot, so you'd have to:

  1. 使用新的AppId在Azure中创建新的Web App Bot

  1. Create a new Web App Bot in Azure with new AppId

用您的机器人代码编辑AppId和AppPassword

Edit the AppId and AppPassword in your bot's code

将已编辑的漫游器上载到Azure中的新Web App Bot

Upload your edited bot to your new Web App Bot in Azure

创建/编辑新机器人的清单并发布到Teams

Create/edit the new bot's manifest and publish to Teams

根据您的其他问题,看来您想大规模进行此操作.就像我说的那样,目前没有一种简单的方法可以做到这一点.但是,如果您尝试以编程方式更进一步地实施当前设置,则可以使用

Judging by your other question, it looks like you want to do this at scale. Like I said, there isn't an easy way to do this currently. However, if you're trying to implement the current setup more programmatically, you can use ARM templates from the new deployment process to speed things up a little. Unfortunately, it doesn't appear that you can programmatically set branding for an app registration.

这篇关于是否可以将其他品牌不同的机器人加载到Teams应用中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆