we are currently trying to build an messenger app integration with Intercom and encountered a problem where we created a conversation note containing a button with an URL. The URL must have three URL parameters and the concatenation of URL parameters via ‘&’ results in the intercom chat to be encoded as &. The URL we send is correct, but somehow intercom replaces the & with & .
To be more concrete, we create the conversation note in the following way:
UserReply reply = new UserReply(conversation.getUser());
reply.setBody("<a href=testUrl.com?x=1&y=2&z=3> Go to shared screen ");
Is there any solution where the &-symbol can to be encoded to be correctly usable in the chat?
When we just set the url as reply-body, the encoding does not take places, but then the link is is not clickable ;(