https://discord.gg/botpress logo
⚠️ Heads up to Devs with *WhatsApp* Bots ⚠️ A P...
# 💻developers
a
⚠️ Heads up to Devs with WhatsApp Bots ⚠️ A PR was just merged with breaking changes for how bots receive postback & say payloads on card messages: https://github.com/botpress/botpress/pull/13846 The
p:
and
s:
prefixes have been removed, so if you have transitions that look like
event.payload.text === "p: Continue"
they will no longer work as of 30 minutes ago. Luckily it is an easy fix. You can either: 1. Use regex instead of string matching like
/continue/.test(event.payload.test.toLowerCase().trim())
2. Remove the prefix from the string to match
event.payload.text === "Continue"
2 Views