From 1859e1527f443ebe36af927e6b4f480baee14676 Mon Sep 17 00:00:00 2001 From: Tracy Boehrer Date: Thu, 31 Oct 2019 06:42:13 -0500 Subject: [PATCH] ChoiceFactory.for_channel was erroneously returning a List instead of an Activity --- .../botbuilder/dialogs/choices/choice_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/choice_factory.py b/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/choice_factory.py index a9d17f16f..52bf778b3 100644 --- a/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/choice_factory.py +++ b/libraries/botbuilder-dialogs/botbuilder/dialogs/choices/choice_factory.py @@ -69,7 +69,7 @@ def for_channel( # If the titles are short and there are 3 or less choices we'll use an inline list. return ChoiceFactory.inline(choices, text, speak, options) # Show a numbered list. - return [choices, text, speak, options] + return ChoiceFactory.list_style(choices, text, speak, options) @staticmethod def inline(