How can I populate chat bot with chat history

Hi, How can I achieve this?
I have a use case where I need to display chat history if the user is returning again to have conversation with bot. The conversation should start from where the user left the conversation last time.