https://discord.gg/botpress logo
#🤝help
Send additional data through single choice card
# 🤝help
f

flaky-ability-96739

01/10/2024, 2:06 PM
Hi, we have our own chat widget that we've connected to Botpress through a custom integration. I want to send an additional string param along with the choices (style) so that our widget knows how to render that message. Is this possible to do with the native single choice card? Or do I need an action or event or something else? I'd also like to resume the conversation flow from that point in the conversation - not sure if a custom action would support that. Thanks!
For future wanderers: the way suggested by Bassam and that I ended up implementing was to just send a JSON payload instead of the message text, and parse it on our chat widget.