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

Question: Is there a way to specify UserData/ConversationData/PerUserInConversationData through DirectLine?

Open ejadib opened this issue 10 years ago • 2 comments

I'm trying to write some functional tests against a Bot that store some information in UserData/ConversationData data bags and I'm not being able to find a way to set values for those directly through DirectLine. Is that even possible?

Thanks, Ez.

ejadib avatar Jun 27 '16 15:06 ejadib

The "channel" side of the Bot Connector doesn't expose this, but you can send your custom data to/from the bot via the ChannelData field on the DirectLine message -- it shows up verbatim on the bot side.

Would this solve the problem? If not, I'm interested to hear about your requirements.

dandriscoll avatar Jul 12 '16 04:07 dandriscoll

Closing this issue. @ejadib - please open a new issue if this needs further discussion. Thanks!

v-thgratMSGit avatar Jul 26 '16 22:07 v-thgratMSGit