I use the @intercom/messenger-js-sdk in react app
showNewMessage does not insert prePopulatedContent if the intercom chat has not been opened yet
showMessages also doesn't work.
showNewMessage just opens a new chat on the first call, then it starts inserting prePopulatedContent. For testing, I'm using a constant as a prePopulatedContent. However, if you open the Intercom widget, the prePopulatedContent is inserted the first time.
Versions:
"@intercom/messenger-js-sdk": "^0.0.14",
"react": "18.3.1",