Add another keyword for Quit in FormFlows - Bot Framework
Is it possible to change the keyword for the Quit commando in FormDialog using Bot Framework? I want to throw the FormCanceledException when a certain word is typed (Not using english as language). If I could change the keyword, or add another that does the same as Quit it would be perfect Yes, it's possible. One way to do that, is to add a new term to the FormCommand.Quit command. Here you will find an example that is doing exactly that (and code below for your reference) private static IFormBuilder<T> CreateCustomForm<T>() where T : class { var form = new FormBuilder<T>(); var command = form