Joy Zhu
Joy Zhu

Reputation: 464

Bot return 0 in emulator

In my Dialog, I use below code to return message to customer:

var reply =  context.MakeMessage();
reply.Text = summary;
reply.Speak =  speak;
await context.PostAsync("tetsingtist");
await context.PostAsync(reply);

In Emulator, Message is return correctly, "0" also return. I do not know why there is one "0".

enter image description here

Emulator version is v3.5.36

It will be great helpful if you can share your experience.

Thank you!

Upvotes: 1

Views: 72

Answers (1)

Joy Zhu
Joy Zhu

Reputation: 464

Fixed.

In somewhere, I use context.PostAsync to return one empty text message to cause 0 in emulator.

Upvotes: 1

Related Questions