Optional
onThe received message object
Number of remaining messages in the current package after client connection
Indicates if the message is offline
Checks if there are undelivered message packages on the server
Optional
onNetwork status change
Connection status between SDK and RC server
Optional
onSync session pin status across devices
Session type
Session ID
Channel ID, only for super groups. Pass null for other session types
Pin status
Optional
onMulti-device sync for session do-not-disturb status
Session type
Session ID
Channel ID, only for super groups, set to null for other session types
Current session notification type
Optional
onMessage recall listener
Original message becomes recalled
Optional
onCallback for message receipt in single chat
Conversation ID
Channel ID, only for super groups. Use null for other chat types.
Send time of the last read message
Optional
onCallback for message expansion changes
Updated key-value pairs in the message expansion. Only includes the updated pairs, not the full data. Use the message's expansion property to get all key-value pairs.
The message that changed
Optional
onCallback for deleted message extensions
The message that changed
List of keys removed from the message extensions
Optional
onMonitor chat room user join and exit events
Conversation ID
Events triggered
Optional
onChat input status changes. For 1:1 chats, the listener triggers once when the other party is typing, and again when they stop. In the latter case, the typing user list in the callback is empty.
Chat type
Chat ID
Channel ID, only supported for super groups. Pass null for other chat types.
Set of users with changed typing status
Optional
onListen for unread message sync. Triggered when another device clears unread counts for a session
Session type
Session ID
Timestamp
Optional
onCallback for chatroom KV sync completion
Chatroom ID
Optional
onCallback for chat room KV changes
Type of operation
Chat room ID
KV entries with changes
Optional
onSupergroup message KV updated
Updated message collection
Optional
onSupergroup messages updated
Collection of updated messages
Optional
onSupergroup messages recalled
Collection of recalled messages
Optional
onListen for supergroup read receipts
Conversation ID
Channel ID, only for supergroups. Set to null for other types.
Optional
onCallback for user input status changes Triggered when the client detects changes in user input status, notifying the session and current RCUltraGroupTypingStatusInfo list
List of RCUltraGroupTypingStatusInfo (nil means no user is currently typing)
Optional
onCallback for intercepted messages containing sensitive words
Details of the intercepted message
Optional
onListen for chat room status changes
Conversation ID
Chat room status
Optional
onListener for group chat read receipt requests
Conversation ID
Message UID
Optional
onListener for group chat read receipt response
Conversation ID
messageUId of the message receiving the receipt response
List of users in the conversation who responded to this message. Key: user ID; value: response time.
Optional
onCallback when super group list sync completes
Optional
onCallback for joining a chat room
Chat room ID
Listen for incoming messages