Links returning extra children text

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/" } ] } ] },
9 Replies
Baptiste
Baptiste16mo ago
Hmmm can you provide your text bubble schema? How can we reproduce?
LuizAlves
LuizAlvesOP16mo ago
Hi @Baptiste Here is it.
LuizAlves
LuizAlvesOP16mo ago
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": "" } ] } ] } } ] }
Baptiste
Baptiste16mo ago
Indeed, I'm not sure how to avoid that. But since it is empty you can ignore it I guess!
LuizAlves
LuizAlvesOP16mo ago
No, @Baptiste , It is not empty { "text": "this is a link " },
Baptiste
Baptiste16mo ago
But you want that text, that's what preceeds the link!
LuizAlves
LuizAlvesOP16mo ago
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.
Baptiste
Baptiste16mo ago
That's how it works. Can't really change that behavior 🙏

Did you find this page helpful?