GithubHelp home page GithubHelp logo

Comments (2)

stevkan avatar stevkan commented on June 9, 2024

@upul, There are two ways that this can potentially be achieved. I say 'potentially' as the proposed options are relying on earlier versions of the SDK. As such, some classes and/or methods may have changed and will require updating code to current implementations. Doing so may result in a breaking change.

  • Option 1: This sample (referenced in this comment) in this very long GH issue, #365, demonstrates how conversation transcripts can be saved to Azure Blob Storage. The stored conversation history can then be uploaded via the SendConversationHistoryAPI.
  • Option 2: This option only works if you are using BotFramework-Webchat as the client. As you don't state which client is being used, I am putting this here should it be useful. In the same GH issue referenced above, you can see here that an array of activities (i.e. the conversation history) can be passed into the store in order to load a previous conversation into web chat.

In either case, please be aware that once a token has expired, it is not possible to get a refreshed token. So, while you may be able to load a previous (expired) conversation, it is not possible to resume that conversation. It is only possible to display the previous conversation with a new conversation following after it.

from botframework-directlinejs.

stevkan avatar stevkan commented on June 9, 2024

Closing due to lack of response.

from botframework-directlinejs.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.