Use this file to discover all available pages before exploring further.
Transient messages are messages that are sent in real-time only and are not saved or tracked anywhere. The receiver of the message will only receive the message if he is online and these messages cannot be retrieved later.
You can use the sendTransientMessage() method to send a transient message to a user or in a group. The receiver will receive this information in the onTransientMessageReceived() method of the MessageListener class. In order to send the transient message, you need to use the TransientMessage class.
Always remove listeners when they’re no longer needed (e.g., on component
unmount or page navigation). Failing to remove listeners can cause memory
leaks and duplicate event handling.
You will receive the transient message in the onTransientMessageReceived() method of the registered MessageListener class.