Microsoft Bot框架:如何通过消息扩展添加bot进行聊天?
让我们假设用户在1:1聊天中与其他用户聊天。 (也许也可能是组聊天。)用户添加了一个机器人并继续聊天,而机器人现在为对话增加了价值。
我们正在寻找一种通过简单的按钮单击将机器人添加到尽可能无缝的聊天中的方法。看来我们可以获得最接近的按钮,就是使用a 消息传递扩展操作命令。
当用户调用消息扩展时,我们的后端服务运行,可以用卡响应。现在,可以生成对添加bot 的响应而不是卡?例如,有特殊响应,例如身份验证。是否有回复告诉团队客户添加机器人?
任何提示都将受到赞赏。
Let's assume a user chats with another user in a 1:1 chat. (Might also be a group chat.) The user adds a bot and continues to chat while the bot now adds value to the conversation.
We are searching for a way to make adding the bot to a chat as seamless as possible through a simple button click. It seems the closest we can get to a button is using a messaging extension action command.
When the user invokes the messaging extension our backend service runs and can respond e.g. with a card. Now instead of a card is it possible to generate a response to add a bot? There are special responses e.g. for authentication. Is there a response telling the Teams client to add a bot?
Any hints are appreciated.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
JIT安装机器人是这里的一个选择。您将能够在用户对话中添加机器人。检查以下示例应用程序,有助于立即添加bot: https:// github .com/SubbaReddi/89.teams-just-in-time-installation
JIT installation of bot is an option here. You will be able to add bot to user conversation. Check following sample application which helps to add bot instantly: https://github.com/SubbaReddi/89.teams-just-in-time-installation