我正在尝试dialog chain。这个样本到底应该做什么?当我尝试它时,我没有结果。
public async Task MessageReceivedAsync(IDialogContext context, IAwaitable<Message> argument)
{
var message = await argument;
if (message.Text == "start")
{
var query = from x in new PromptDialog.PromptString("p1", "p1", 1)
from y in new PromptDialog.PromptString("p2", "p2", 1)
select string.Join(" ", x, y);
query.PostToUser();
context.Wait(MessageReceivedAsync);
}
Bot Tester: