Send a Transient Message
You can use thesendTransientMessage() 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.
- Swift
- Objective C
Real-time Transient Messages
In other words, as a recipient, how do I know when someone sends a transient message? In order to receive incoming transient messages, you must add protocol conformanceCometChatMessageDelegate as Shown Below :
- Swift
- Objective C
TransientMessage class consists of the below parameters: