If user complete conversation, bot wait for user input. But I dont want wait.
This happen
But i want this
....
return Chain.From(() => FormDialog.FromForm(BuildForm, FormOptions.PromptInStart))
.Switch( . //Code . ) .Unwrap().PostToUser();
You can send multiple messages before put the bot into 'wait' state
connector.Conversations.ReplyToActivity(incomingMessage.CreateReply("Thanks", "en"));
connector.Conversations.ReplyToActivity(incomingMessage.CreateReply("Tell a good hoke", "en"));
https://docs.botframework.com/en-us/csharp/builder/sdkreference/routing.html#multiplereplies
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.