Hook to customize channelData
See original GitHub issueFeature Request
I think we should be able to customize the channelData via a simple hook. We pass custom data via the channelData for our messages. I want to be able to easily mutate the channelData both on a per message basis and on init.
Is your feature request related to a problem? Please describe.
We rely on channelData to determine our vendor and other information on the client. I want to use hooks similarly to the plain web chat sample, but can’t find an elegant way to mutate the channelData without deviating from the hooks design.
Describe the suggestion or request in detail
Similar to other hooks, but we’re able to update the channelData on per message and global level.
Describe alternatives you have considered
Moving away from hooks and using BotFramework-DirectLineJS methods.
[Enhancement]
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top GitHub Comments
Thanks for that example, I was able to test it out and it accomplished customizing our channelData.
closing, see https://github.com/microsoft/BotFramework-WebChat/issues/2793 for the feature request