direct-line-botframework

suggested actions disappear after click in directline

丶灬走出姿态 提交于 2021-01-05 13:00:14
问题 I have configured directline channel to Microsoft bot framework v4 with node js. I have suggested actions in welcome message. when I clicked any suggested action it disappear in UI but its response receiving to bot. var msg = MessageFactory.suggestedActions( CardFactory.actions([ { type: 'messageBack', title: 'xyz', value: 'xyzDialog' }]),'please select choice'); await context.sendActivity(msg); could you please guide me how can I make it appear clicked suggested action to end user? Thanks in

refresh Directline token after it got expired

ぐ巨炮叔叔 提交于 2021-01-01 02:52:41
问题 I'm applying a token based authentication to bot webchat along with the chat being persisted but facing an issue after the token got expired. Unable to connect to bot. At first I'm generating a token and refreshing for 15 mins and every thing working fine till then. But, when user went offline with no internet connectivity, suppose for around 6-7 hours, due to offline the refresh token post call don't happen and there will be an expired token in the session storage. later than he wanted to

refresh Directline token after it got expired

≡放荡痞女 提交于 2021-01-01 02:51:26
问题 I'm applying a token based authentication to bot webchat along with the chat being persisted but facing an issue after the token got expired. Unable to connect to bot. At first I'm generating a token and refreshing for 15 mins and every thing working fine till then. But, when user went offline with no internet connectivity, suppose for around 6-7 hours, due to offline the refresh token post call don't happen and there will be an expired token in the session storage. later than he wanted to

refresh Directline token after it got expired

ⅰ亾dé卋堺 提交于 2021-01-01 02:50:51
问题 I'm applying a token based authentication to bot webchat along with the chat being persisted but facing an issue after the token got expired. Unable to connect to bot. At first I'm generating a token and refreshing for 15 mins and every thing working fine till then. But, when user went offline with no internet connectivity, suppose for around 6-7 hours, due to offline the refresh token post call don't happen and there will be an expired token in the session storage. later than he wanted to

refresh Directline token after it got expired

风格不统一 提交于 2021-01-01 02:50:06
问题 I'm applying a token based authentication to bot webchat along with the chat being persisted but facing an issue after the token got expired. Unable to connect to bot. At first I'm generating a token and refreshing for 15 mins and every thing working fine till then. But, when user went offline with no internet connectivity, suppose for around 6-7 hours, due to offline the refresh token post call don't happen and there will be an expired token in the session storage. later than he wanted to

botframework web chat V4 build and generate custom CSS and JS File

放肆的年华 提交于 2020-08-09 14:54:01
问题 I've cloned the repository from https://github.com/microsoft/BotFramework-WebChat and was able to build the project after some changes with the below npm command npm run build However, this build has not generated the botchat.css and botchat.js files that the earlier versions of web chat used to generate. The reason for my custom build is that I need to be able to display HTML formatting on the web chat. Any steps on how to get the .css and .js files would be really helpful. 回答1: Web Chat no

botframework web chat V4 build and generate custom CSS and JS File

混江龙づ霸主 提交于 2020-08-09 14:53:49
问题 I've cloned the repository from https://github.com/microsoft/BotFramework-WebChat and was able to build the project after some changes with the below npm command npm run build However, this build has not generated the botchat.css and botchat.js files that the earlier versions of web chat used to generate. The reason for my custom build is that I need to be able to display HTML formatting on the web chat. Any steps on how to get the .css and .js files would be really helpful. 回答1: Web Chat no