我正在使用node.js使用directLine API和bot框架进行开发。目前,我遇到了一个问题。那是我使用“session.endConversation();”在我的机器人逻辑中结束对话,然后使用directline apis检索对话活动,没有任何与endConversation相关的活动被发布。 我期待看到下面的东西
{...
{
"type": "endOfConversation"
"id": "CSRTC3lGqTA9jTYpAcsy05|0000006",
"channelId": "directline",
"conversation": {
"id": "CSRTC3lGqTA9jTYpAcsy05"
},
"code": "completedSuccessfully"
}
...
}
但活动不存在。如果我继续发布对话ID,似乎对话仍然存在。 我想知道为什么会这样呢?
答案 0 :(得分:2)
感谢Eric Dahlvang!这是3.8.2之前版本中存在的问题。升级bot builder后,问题得到解决。 github.com/Microsoft/BotBuilder/issues/2767