[Azure][Bot Service] 是否有 API 可以从 directline 3.0 chache 中删除对话?

[Azure][Bot Service] Is there an API to remove conversations from directline 3.0 chache?

如果有一种方法可以从区域直线 3.0 chache(如 europe.directline.botframework.com)中删除对话及其数据,我很感兴趣。我知道所有对话数据仅为 24 hours in the regional directline chache 存储,并且知道如何删除机器人逻辑中的状态数据。

我问的原因是对话及其消息包含敏感数据,如果我们无法通过直达以编程方式删除消息或整个对话,则直达缓存被认为是一种风险 api,例如,如果用户和机器人之间的对话结束。

非常感谢您的帮助!

There is not a capability to flush the messages for a conversation or user in Direct Line sooner than the 24 hour limit. This is something one could do with Update and Delete activities that we have in our backlog but do not have any delivery date for. I will add this as a scenario for that feature.
See: https://github.com/microsoft/BotFramework-Services/issues/219

解决 24 小时问题的另一种方法是使用 Direct Line App Service Extension,因为它总是直接将消息发送到客户端或机器人,而不将它们存储在任何缓存中。