Skip to main content

Hey, i want to send my user a custom message, on web it is with 'showNewMessage

' and the custom message.

if i want to do the same thing but on Intercom for Cordova & Phonegap, is there a way to do so?

Hey @user1122​, I can see that you've been chatting with our Support team about this, too!

 

Here's some sample code that will show you how to show a custom message:

 

document.getElementById("launch-messenger-btn").addEventListener("click", function(){ intercom.displayMessageComposerWithInitialMessage("here is a sample message");

}, false);


Reply