BotFramework-WebChat icon indicating copy to clipboard operation
BotFramework-WebChat copied to clipboard

Display button title (instead of value) in chat window with imBack

Open bhushanvadgave opened this issue 9 years ago • 4 comments

I understood that button of postBack type (when clicked) sends the value of the button to the bot without displaying it on chat window AND button with imBack does the same but displays the button value as on chat window. With my webchat I wanted it to work like "When imBack button is clicked button value should be sent as message but button title should be displayed on chat window". This same thing is done on Skype and Facebook messenger channels. Can anyone guide me for the changes required for this?

bhushanvadgave avatar May 11 '17 21:05 bhushanvadgave

I have a similar use case. Can you update if you found any solution?

kalykodu avatar May 18 '17 18:05 kalykodu

I have a similar use case too. Would you mind providing a pointer on how to achieve this? If possible I might be able to help implementing too.

pupipipu avatar Oct 19 '17 06:10 pupipipu

If you guys still need the imback returning button title, I modified the webchat (v0.10.7) to do just that. Link below: https://www.npmjs.com/package/botframework-webchat-modified

When I have the time I'll modify the main source (latest version) to add the options to return button title/value and created a pull request :)

pupipipu avatar Oct 20 '17 01:10 pupipipu

Related to messageBack #1402

corinagum avatar Nov 28 '18 01:11 corinagum