{"action":"closed","issue":{"url":"https://api.github.com/repos/botui/botui/issues/85","repository_url":"https://api.github.com/repos/botui/botui","labels_url":"https://api.github.com/repos/botui/botui/issues/85/labels{/name}","comments_url":"https://api.github.com/repos/botui/botui/issues/85/comments","events_url":"https://api.github.com/repos/botui/botui/issues/85/events","html_url":"https://github.com/botui/botui/issues/85","id":381857246,"node_id":"MDU6SXNzdWUzODE4NTcyNDY=","number":85,"title":"How to display the conversational history from the last session?","user":{"login":"parthsharma1996","id":12585488,"node_id":"MDQ6VXNlcjEyNTg1NDg4","avatar_url":"https://avatars1.githubusercontent.com/u/12585488?v=4","gravatar_id":"","url":"https://api.github.com/users/parthsharma1996","html_url":"https://github.com/parthsharma1996","followers_url":"https://api.github.com/users/parthsharma1996/followers","following_url":"https://api.github.com/users/parthsharma1996/following{/other_user}","gists_url":"https://api.github.com/users/parthsharma1996/gists{/gist_id}","starred_url":"https://api.github.com/users/parthsharma1996/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/parthsharma1996/subscriptions","organizations_url":"https://api.github.com/users/parthsharma1996/orgs","repos_url":"https://api.github.com/users/parthsharma1996/repos","events_url":"https://api.github.com/users/parthsharma1996/events{/privacy}","received_events_url":"https://api.github.com/users/parthsharma1996/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2018-11-17T12:07:08Z","updated_at":"2018-11-21T05:33:11Z","closed_at":"2018-11-21T05:33:11Z","author_association":"NONE","body":"I am using the Bot-UI framework for a mental health chat-bot. \r\n\r\nThe issue I am currently facing is that of resuming the chat from the point where it was left off.  I am storing the chat history of each session at the server side, but I am not sure how to populate the chat window with the history of the conversation using BotUI each time the user visits again.\r\n\r\nBotUI only seems to provide a `.add` function which I can use to populate the bot side of the conversation by calling it repeatedly, but how do I artificially populate the user side of the conversation using the conversational history that I have? I couldn't find a structured way of accomplishing this using BotUI. \r\n\r\nAm I missing something? What would be the best way to implement this?"}}
{"actor":{"display_login":"moinism"}}