You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I couldn't make the text (and image) elements to display as is described in the docs on /api-reference/elements/text
The only way that seems to work is with message context and display = "inline". All the other described versions (outside of message context, and other display types, didn't show the elements at all. What am I doing wrong? Or is the doc outdated?
Being able to display text or image permanently, out of a message context, would be extremely helpful.
Thanks.
The text was updated successfully, but these errors were encountered:
To display an element permanently, display="inline" is the right way. If you want do use display="side", the name of the element has to be referenced in the content of the message. That name will become an hyperlink opening the sidebar.
Ah, thanks a lot @willydouhard - works beautifully now.
One more question: How can I update the content of an existing text? I tried to send it again with new text, but that didn't work. Use case: I imagine a text doc in the side bar that the bot and human work on and thus is changing permanently.
And a suggestion: A parameter to show the side bar immediately (not via link) would be great.
I couldn't make the text (and image) elements to display as is described in the docs on /api-reference/elements/text
The only way that seems to work is with message context and display = "inline". All the other described versions (outside of message context, and other display types, didn't show the elements at all. What am I doing wrong? Or is the doc outdated?
Being able to display text or image permanently, out of a message context, would be extremely helpful.
Thanks.
The text was updated successfully, but these errors were encountered: