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 capabilitiesautotext
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
Comments
Post a Comment