
Mount the component
Query parameters
Reading the count in your own code
If you want to render the count yourself instead of using the component, listen for thecount-updated event the iframe emits via postMessage whenever the User reads a conversation or receives a new message: