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

[Question] Handling Complex Confirm Prompt

Open jfb74 opened this issue 9 years ago • 2 comments

System Information

  • SDK Language: Node.js
  • Development Environment: localhost

I am trying to emulate the behavior of builder.Prompts.confirm and match the yes/no response if it is there, otherwise do something with the text provided (could be anything). My use case is that I display a list of options which all have buttons that the user can click and then I ask "Was that helpful?". If the user clicks one of the buttons I need to process it. Though if its not a button click then I need to emulate the builder.Prompts.confirm intent to determine if they answered yes or no to the question. I can't seem to figure out how to get it to check if it matches the confirm intent and if not then do something else.

jfb74 avatar Aug 03 '17 14:08 jfb74

@jfb74 What did you try? What worked? What didn't work? Please share your code.

nwhitmont avatar Aug 03 '17 18:08 nwhitmont

closing as duplicate of https://stackoverflow.com/questions/45484216/how-to-handle-yes-no-response-from-user-similar-to-builder-prompts-confirm

nwhitmont avatar Aug 03 '17 20:08 nwhitmont