问题描述
我使用REST API创建了Azure Bot Framework机器人.
Bot一直在通过Web Chat进行回复,但Bot并不经常在Teams中进行回复. (有时在团队中回覆,但非常不稳定)
I created Azure Bot Framework bot using REST API.
Bot replies in Web Chat all the time but the bot does not reply in Teams often. (Bot reply in Teams sometimes but very unstable)
当漫游器未在Teams中回复时,服务器日志中似乎没有消息传递终结点访问权限.
可能是频道问题吗?
When bot does not reply in Teams, it seems no messaging endpoint access in server log.
Might it be a channel problem?
我添加了Microsot Teams的频道,也尝试过添加Skype的频道,然后再添加如下所示的Teams频道,但仍然遇到相同的问题.
https://social.msdn.microsoft.com/Forums/ja-JP/cb4bbbfd-8202-4c12-bd2d-9e1f02bffcb5/botframework-azure-web-app-bot-dose-not-repry-from-microsoft?forum= windowsazureja
经过这样的测试
I added channel of Microsot Teams and I also tried adding channel of Skype before adding channel fo Teams like the article below but I got same problem still.
https://social.msdn.microsoft.com/Forums/ja-JP/cb4bbbfd-8202-4c12-bd2d-9e1f02bffcb5/botframework-azure-web-app-bot-dose-not-repry-from-microsoft?forum=windowsazureja
Tested like this
curl -X POST {serviceUrl}v3/conversations/{conversationId}/activities/{activityId} -H 'Authorization: Bearer {accessToken}' -H 'Content-Type: application/json' -d '{"type":"message","from":{"id":"...","name":"..."},"conversation":{"conversationType":"personal","id":"..."},"recipient":{"id":"...","name":"...","aadObjectId":"..."},"replyToId":"...","text":"Hello"}'
推荐答案
有关与Azure Bot Framework相关的产品问题,请将其发布到:https://stackoverflow.com/questions/tagged/botframework
For product issues related to Azure Bot Framework, please post it to: https://stackoverflow.com/questions/tagged/botframework
产品小组将进行调查并提出建议.
The product group will investigate and suggest there.
此致
雨桐
这篇关于Azure Bot Framework bot在Microsoft Teams中不经常回复的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!