Share feedback, ideas and get community help

Updated 4 months ago

Links returning extra children text

At a glance
Hi, when using links inthe flow, the response from http api is returning an extra children.text although no display text to link has been used in the link :
{ "url": "https://www.cobangu.com.br/", "type": "a", "children": [ { "type": "p", "children": [ { "text": "https://www.cobangu.com.br/" } ] } ] },
B
L
9 comments
Hmmm can you provide your text bubble schema? How can we reproduce?
Hi @Baptiste Here is it.
Here is the http api response:
{ "sessionId": "clqqulyno00fejn085dao1k8y", "typebot": { "id": "clqqtlxmg000bjo0fydptdaov", "theme": {}, "settings": { "general": { "isBrandingEnabled": true } } }, "messages": [ { "id": "tunxan2yacqq8gw95i80j2di", "type": "text", "content": { "richText": [ { "type": "p", "children": [ { "text": "this is a link " }, { "url": "www.cobangu.com.br", "type": "a", "children": [ { "type": "p", "children": [ { "text": "www.cobangu.com.br" } ] } ] }, { "text": "" } ] } ] } } ] }
Indeed, I'm not sure how to avoid that. But since it is empty you can ignore it I guess!
No, @Baptiste , It is not empty
{
"text": "this is a link "
},
But you want that text, that's what preceeds the link!
Yes, But I didn´t fill that text. I put no text in display link, but it allways fill the display link equal to url link. I need no display link. Only the link url. Please, see the json flow attached above.
That's how it works. Can't really change that behavior 🙏
Add a reply
Sign up and join the conversation on Discord