Open BPMJoannette opened 4 years ago
On the forum, Shone wrote
This error come from here “ctx.message” Property in the sendEvent function . when you click on the button of postback you should receive the “ctx.callbackQuery” Property instead of “ctx.message”.
Solution: follow your URL (\dist\backend\client.js:33:26) call “ctx.callbackQuery” when you click postback and “ctx.message” when you typing.
property ‘text’ just exist in ctx.message and property ‘data’ in ctx.callbackQuery
Like the below image! hope it can help!
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Reproduced, keeping this as an actual issue
Postback action in carousels doesn't work with Telegram.
You will need a bot on Telegram to reproduce, see : https://core.telegram.org/bots#3-how-do-i-create-a-bot Also, use this bot in which an example of the postback is ready : https://botpress.com/docs/assets/bot_carouselexample_1573577470073.tgz
Steps to reproduce the behavior:
Expected behaviour: Postback does not return an error.
Environment: