Skip to content

Commit fa3831f

Browse files
tracyboehrerVirtual-Josh
authored andcommitted
ChoiceFactory.for_channel was erroneously returning a List instead of an Activity (#383)
1 parent f2958da commit fa3831f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/botbuilder-dialogs/botbuilder/dialogs/choices/choice_factory.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def for_channel(
6969
# If the titles are short and there are 3 or less choices we'll use an inline list.
7070
return ChoiceFactory.inline(choices, text, speak, options)
7171
# Show a numbered list.
72-
return [choices, text, speak, options]
72+
return ChoiceFactory.list_style(choices, text, speak, options)
7373

7474
@staticmethod
7575
def inline(

0 commit comments

Comments
 (0)