https://discord.gg/botpress logo
Display text as conversation
# 🤝help
a
Hi everyone! I have a specific requirement from client about botpress. Client wants to display some messages in chat on opening botpress webchat as it was an actual conversation. We have an array of objects (question, answer). Whenever user opens webchat, those question, answers in array should be displayed in a conversation way (as in the attached image). We are using botpress cloud and I couldn't find any card or other way to display a message as it is sent by user. FYI: those question answers are actually from previous conversation but when user restarts the conversation, chat is cleared so there is no way to see the previous conversation If there is any ambiguity, please let me know. I would be really thankful https://cdn.discordapp.com/attachments/1411937045135491073/1411937045324103701/image.webp?ex=68b67858&is=68b526d8&hm=857a08be2161ae233e0da1ae7add163fbca664ed35514e9eacfe5f916afc4c02&
l
technically chat is not clear automated, unless user restarts the conversations if user clears the conversation, why to force old conversations, did the user not restart to get rid of old conversations? if you still want to you can use javascript to push these messages to chat window DOM