botpress / messaging

Botpress messaging server
43 stars 37 forks source link

fix(messenger): allow buttonless card #579

Closed davidvitora closed 1 year ago

davidvitora commented 1 year ago

Today it's impossible to have a card without a button; this PR fixes it. I believe that before, it was not allowed because you can't send an empty button list, if you do, the card is not displayed on Messenger; my PR will make sure that there is at least one button before creating the property.