简体   繁体   English

我可以在 Teams #Bot 框架中刷新聊天历史记录吗

[英]Can i refresh Chat history in Teams #Bot framework

Is there any way to refresh/clear BOT chat history and start new conversation in MS Teams.有什么方法可以刷新/清除BOT聊天记录并在 MS Teams 中开始新的对话。 If Yes please let me know how to do it.如果是,请让我知道该怎么做。

There is (as of the posting of this answer) no way to delete teams chat history, so there is no way to clear the previous messages of a bot from the teams client. (截至发布此答案时)无法删除团队聊天历史记录,因此无法从团队客户端清除机器人的先前消息。 There are ways to clear a bot's conversation state, but as the bot's Microsoft app ID is tied to a Teams app ID as soon as you add the channel, the messages displayed on the teams chat window are there to stay no matter how you handle your bot's state/history storage.有一些方法可以清除机器人的对话 state,但由于机器人的 Microsoft 应用程序 ID 在您添加频道后立即与团队应用程序 ID 相关联,因此无论您如何处理您的机器人的状态/历史存储。

The only work around for this is to remove the bot from Teams entirely, and redeploy it using a new Bot Channels Registration/Web App bot, which doesn't, per se, delete the history so much as create a totally new bot.解决此问题的唯一方法是从 Teams 中完全删除机器人,并使用新的 Bot Channels Registration/Web App 机器人重新部署它,它本身并不会删除历史记录,而是创建一个全新的机器人。

For reference: https://support.office.com/en-us/article/delete-a-chat-in-teams-da6d87ed-59bc-4407-9291-95ee193f8344供参考: https://support.office.com/en-us/article/delete-a-chat-in-teams-da6d87ed-59bc-4407-9291-95ee193f8344

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 使用 Bot Framework V4 在 Teams 中发送主动一对一消息 - Send Proactive 1:1 message in Teams using Bot Framework V4 使用 c# 和 Micorsoft bot 框架中的 v4 版本在聊天机器人中使用 Microsoft Bot Framework 设置计时器 - Set Timer Using Microsoft Bot Framework in chat bot using c# and v4 version in Micorsoft bot framework 无法在 Azure 机器人框架中调用 Luis - Can't call Luis in Azure bot framework 我可以在微软的 Bot Framework 上使用 .NET core 3.0 SDK 吗? - Can I use .NET core 3.0 SDK on Microsoft's Bot Framework? Bot在Microsoft Teams中的行为不同 - Bot acts differently in Microsoft Teams 如何读取本地 MS Teams 状态 - How can I read local MS Teams status 如何在 MS teams bot 中安排和发送消息 - How to schedule and send the message in MS teams bot .net 核心应用程序的聊天机器人 - Chat bot for .net core application 如何通过重新开始或进入特定步骤来控制Microsoft Bot Framework对话框以重复对话框顺序? - How can I control the Microsoft Bot Framework dialog to repeat the dialog sequence by either starting over or stepping into a particular step? Select 最新两排聊天记录 linq - Select latest two row of chat history linq
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM