How to sanitize User input in webchat?

We are trying to avoid offensive messages to be added in our webchat,For that we are searching an option to sanitize each message that user in entering either in Message Flow architect or using JavaScript SDK.
If user is entraining any offensive message will prompt a warning and disconnect the chat.
Is there any build in option to do that?

Indeed, this is a good use-case to solve. We have a forward looking Idea posted here (please vote): at the moment we don't have a mechanism to alter & manipulate inbound messages once they are added to the transcript. Ideally, we should be able to enrich message with enough metadata so that consumers downstream can decide to show only the sanitized content, while storing the original content for regulatory and legal purposes.

@Angelo_Cicchitto Thanks for the reply. We are looking forward.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.