MSBot打开机器人后没有响应.没有收到欢迎消息 [英] MSBot not responding on on opening the bot. No Welcome messaged received

查看:89
本文介绍了MSBot打开机器人后没有响应.没有收到欢迎消息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用Azure门户文档中给出的示例bot Welcome-Bot示例创建并部署了bot.无论何时加入或启动该机器人,该机器人都会显示一条欢迎消息.当我在模拟器上进行测试时,它将显示欢迎消息.但是,当我将其部署到Azure并在测试Web应用"聊天或团队中进行测试时,它不会显示欢迎"消息.当我查询某些内容时,它向我显示欢迎消息,即,它给出两个响应:一个是欢迎消息,另一个是对所询问查询的答复.

I have created and deployed bot using a sample bot Welcome-Bot example given in Azure portal docs. This bot shows a welcome message whenever the bot is joined or started. It shows welcome message when I test it on emulator. But when I deploy it to Azure and test in Test Web App chat or Teams it doesn't show me Welcome message. It show me the welcome message when I query something, i.e. it gives two responses : one is the welcome message and other one is the reply of the query asked .

推荐答案

对于Microsoft团队,您需要

For Microsoft Teams, you need to create an app manifest using App Studio and install in your personal scope.

对于1:1机器人对话,ConversationUpdate事件仅在第一次触发.测试欢迎消息的唯一可能选择是通过与其他用户一起安装漫游器.对于团队范围,每次安装应用程序时都会引发此事件.如果有帮助,您可以在团队范围内测试欢迎消息.

For 1:1 bot conversation, ConversationUpdate event gets fired only for the first time. Only possible option to test welcome message is by installing your bot with a different user. For team scope this event is raised every time you install your app. You could test your welcome message in team scope if it helps.

注意:以下是您

Note: Here is how you can synthesize a fake event conversation update event and simulate the bot receiving it.

这篇关于MSBot打开机器人后没有响应.没有收到欢迎消息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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