How do I cancel/exit or escape from PromptDialog.Choice in Bot Framework?

后端 未结 3 770
眼角桃花
眼角桃花 2020-12-21 14:33

The PromptDialog.Choice in the Bot Framework display the choice list which is working well. However, I would like to have an option to cancel/escape/exit the dialog with gi

3条回答
  •  佛祖请我去吃肉
    2020-12-21 14:56

    Just add the option "cancel" on the list and use a switch-case on the method that gets the user input, then call your main manu, or whatever you want to do on cancel

提交回复
热议问题