botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Question] how to get Past history chat from Azure table storage for C#

Open amitgobare23 opened this issue 9 years ago • 12 comments

how to get Past history chat from Azure table storage for C#

amitgobare23 avatar Jun 23 '17 07:06 amitgobare23

To do this you will need to use IActivityLogger.
Here is an implementation of IActivityLogger you may find useful. theres also some more information in this issue as well as this issue

Let us know if you have any more questions, thanks!

JasonSowers avatar Jun 23 '17 15:06 JasonSowers

I already stored data using TableBotDataStore class of Microsoft.Bot.Builder.Azure in Azure table storage but i want to retrived that and diplay when user back again in his chat

when i open chat again then Post method of MessagesController again called and then it goes into HandleSystemMessage() method....then it get ActivityTypes.ConversationUpdate as ActivityType and it's execution finished....my questions is how i get data from Azure table storage....

amitgobare23 avatar Jun 26 '17 06:06 amitgobare23

@JasonSowers could you please give solution for above problem...thanks in advance!

amitgobare23 avatar Jun 27 '17 07:06 amitgobare23

@amitgobare23 this is not something I have personally done before I do not have a pre-made solution to show you.

JasonSowers avatar Jun 27 '17 19:06 JasonSowers

@JasonSowers so what are other ways to get past history data from azure storage cloud , load and display on chat screen?

amitgobare23 avatar Jun 28 '17 05:06 amitgobare23

What channel are you trying to do this on?

JasonSowers avatar Jun 28 '17 15:06 JasonSowers

@JasonSowers I am using Webchat

amitgobare23 avatar Jun 29 '17 04:06 amitgobare23

@JasonSowers still i don't get any workaround/solution for same.... are you found some workaround/solution for above problem

amitgobare23 avatar Jul 03 '17 11:07 amitgobare23

@amitgobare23 I have not, sorry

JasonSowers avatar Jul 03 '17 21:07 JasonSowers

My current approach is from the web "push notification" in the browsers, actually, rather than from the chat framework itself. This WebChatPush project can recall chat history from previous windows by clicking on desktop push notifications: https://github.com/doristchen/WebChatPush

SarahSexton avatar Jul 19 '17 23:07 SarahSexton

please reopen this issue if needed

JasonSowers avatar Aug 08 '17 21:08 JasonSowers

Has anyone found anything with this? I need to show user's chat with Bot in the conversation history.

sandipdakle avatar Dec 19 '17 13:12 sandipdakle