Created
October 31, 2018 07:25
-
-
Save dev-aritra/b4c73ad441df9127de22187208d494e4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
await Task.Run(() => { | |
var res = _conversation.Message("watson workspace id", mr); | |
_context = res.Context; | |
OnWatsonMessagerecieved(JsonConvert.SerializeObject(res, Formatting.Indented)); | |
}); | |
private void OnWatsonMessagerecieved(string data) | |
{ | |
WatsonMessage message = JsonConvert.DeserializeObject<WatsonMessage>(data); | |
// Do Stuff here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment