hi - I am trying to create a Digital Bot Flow with Web Messaging that uses a carousel to present different cards, each card with a couple of choices - one a postback choice and one a url choice.
I'm facing a challenge when trying to change the label on the postback choice - it simply doesn't behave per the documentation, as best I can tell. For example, having simplified everything down to just creating one card and one choice, rather than a carousel of cards, the following example renders a single choice labelled 'Label' and with a postback of 'Label', when I am expecting the card to show a label as is happening but I would expect the postback to be 'offer1'? If I drop the second parameter, then I get a label of offer1 and a postback of offer1 (as expected). Both offer1 and Label are valid slot values for the purposes of the troubleshooting (if the postback does not match a valid slot value then the card is not shown).
Any ideas why I don't get a label of Label and a postback of offer1?
MakeChooser(
MakeCard(
"Title",
"Description",
MakeList(MakePostbackChoice("offer1", "Label")),
MakeImageFromUrl(NOT_SET)
)
)