AI Integration Quick Reference
AI Integration Quick Reference
Send a Typing Indicator
Start Typing
UsestartTyping() with a TypingIndicator object to notify the receiver that you’re typing.
- Swift (User)
- Objective-C (User)
- Swift (Group)
startTyping() returns void — the typing indicator is sent as a fire-and-forget operation.
Stop Typing
UseendTyping() to notify the receiver that you’ve stopped typing.
- Swift (User)
- Objective-C (User)
- Swift (Group)
endTyping() returns void — the typing indicator is sent as a fire-and-forget operation.
Use the
metadata property of TypingIndicator to pass additional custom data. Retrieve it with metadata on the receiver side.Real-time Typing Indicators
UseonTypingStarted and onTypingEnded in CometChatMessageDelegate to receive typing events.
- Swift
- Objective-C
TypingIndicator object contains:
Typing indicators are transient and not persisted. The receiver must be online to receive them.
Next Steps
Delivery & Read Receipts
Track when messages are delivered and read
Transient Messages
Send ephemeral real-time messages like live reactions