LinkClickPolicy.IGNORE: Unblu doesn't open the link. To show your own UI first, for example a notice, return IGNORE
and open ConversationMessageLinkClick.url from your own button. For a LINK_COBROWSABLE action, opening the URL this way doesn't start universal co-browsing.
If the interceptor throws or returns anything else, including a Promise, the link isn't opened and an error is logged.
The click is reported to the conversation.link_clicked webhook whatever the interceptor returns.
It's only called for links clicked in the Unblu UI of this page.
Interceptor function which is called every time a link in a conversation message is clicked.
It's called synchronously while the browser handles the click, so it must return its decision directly:
IGNOREand open ConversationMessageLinkClick.url from your own button. For aLINK_COBROWSABLEaction, opening the URL this way doesn't start universal co-browsing.If the interceptor throws or returns anything else, including a Promise, the link isn't opened and an error is logged. The click is reported to the
conversation.link_clickedwebhook whatever the interceptor returns.It's only called for links clicked in the Unblu UI of this page.