Hide message in the new web SDK
Summary
beforeDisplay is not working in case of Bots.sendMessageContent
Hi,
I'm using the new web SDK to replace Smooch Plugin, I noticed that delegate beforeDisplay is not implemented to work in case of Bots.sendMessage.
So in case i want to hide a specific message sent by the user what should i do ?
Note : For the initiation message >> initUserHiddenMessage: "Hello", the current implementation sends this meesage everytime the user refresh the plugin web page, so in case the user keeps the history from localstorage and wants to refresh the page and continue on his previous messages , the flow will be corrupted since initUserHiddenMessage: "Hello" will be sent again.
Tagged:
0