botframework - PromptDialog.Choice does not show choices -


i'm looking how can show choices user idialog<object> , promtdialog.choice method. thing below code sample doesn't show choices. difficult find code sample. looking help. thank you.

 list<string> botoptions = new list<string>();                 botoptions.add("find program");                 botoptions.add("find event");                 promptdialog.choice(context,                      choiceselectasync,botoptions,                     "i didn't understand you. i'm cable with",                      "didn't that",                      1,                      promptstyle.none); 

you need change promptstyle none.

the available options are:

auto
generate buttons choices , let connector generate right style based on channel capabilities

autotext
show choices text. prompt decides if should generate text inline or perline based on number of choices.

inline
show choices on same line.

perline
show choices 1 per line.

none
not show possible choices in prompt

source


Comments

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -