How can I wipe out my conversation with the user in teams using Azure Bot service?

Lucia Casucci 41 Reputation points Microsoft Employee
2021-08-31T18:02:24.033+00:00

Hello,

I wanted to know if it is possible to have the entire conversation of the user and bot that I deployed in teams deleted once let's say a week is gone.
This way , once the user wants to ask more questions to the bot, he will see the introduction again and start all from the beginning of the waterfall dialogue, forgetting about what was asked a week ago.
I made my bot with the qnA and deployed it in teams.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
940 questions
Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,894 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
4,069 questions
0 comments No comments
{count} votes

Accepted answer
  1. JimmyYang-MSFT 58,626 Reputation points Microsoft External Staff
    2021-09-01T07:07:34.87+00:00

    Hi @Lucia Casucci

    Do you mean you want to update or delete your message from Bot in Teams?

    Our forum is mainly focused on the general issue of Microsoft Teams troubleshooting. According to your description, your question is more related to Azure Bot Service., which we do not support. The following suggestion is only for your reference.

    In the Bot Framework, every message has its unique activity identifier. Messages can be deleted using the Bot Framework's DeleteActivity method. For more details about its code example, you could refer to:

    https://learn.microsoft.com/en-us/microsoftteams/platform/bots/how-to/update-and-delete-bot-messages?tabs=dotnet#delete-messages


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.