IMSDK
IM features a comprehensive suite of solutions including global access, one-to-one chat, group chat, message push, profile and relationship chain hosting, and account authentication. It also provides complete app access and backend management APIs.
<V2TIMAdvancedMsgListener>

Instance Methods

(void) - onRecvNewMessage:
 
(void) - onRecvMessageReadReceipts:
 
(void) - onRecvC2CReadReceipt:
 
(void) - onRecvMessageRevoked:operateUser:reason:
 
(void) - onRecvMessageModified:
 
(void) - onRecvMessageExtensionsChanged:extensions:
 
(void) - onRecvMessageExtensionsDeleted:extensionKeys:
 
(void) - onRecvMessageReactionsChanged:
 
(void) - onRecvMessageRevoked:
 

Method Documentation

◆ onRecvNewMessage:()

- (void) onRecvNewMessage: (V2TIMMessage *)  msg
optional

Received a new message.

◆ onRecvMessageReadReceipts:()

- (void) onRecvMessageReadReceipts: (NSArray< V2TIMMessageReceipt * > *)  receiptList
optional

Message read receipt notification (if you send a message that supports read receipts, the message receiver calls the sendMessageReadReceipts interface, and you will receive the callback)

◆ onRecvC2CReadReceipt:()

- (void) onRecvC2CReadReceipt: (NSArray< V2TIMMessageReceipt * > *)  receiptList
optional

C2C peer user conversation read notification(If the peer user calls the markC2CMessageAsRead interface, you will receive the callback, and the callback will only carry the peer userID and peer read timestamp information)

◆ onRecvMessageRevoked:operateUser:reason:()

- (void) onRecvMessageRevoked: (NSString *)  msgID
operateUser: (V2TIMUserInfo *)  operateUser
reason: (NSString *)  reason 
optional

Received a message recall notification (Supported only in 7.4 and later versions)

◆ onRecvMessageModified:()

- (void) onRecvMessageModified: (V2TIMMessage *)  msg
optional

Message content modified.

◆ onRecvMessageExtensionsChanged:extensions:()

- (void) onRecvMessageExtensionsChanged: (NSString *)  msgID
extensions: (NSArray< V2TIMMessageExtension * > *)  extensions 
optional

Message extension changed.

◆ onRecvMessageExtensionsDeleted:extensionKeys:()

- (void) onRecvMessageExtensionsDeleted: (NSString *)  msgID
extensionKeys: (NSArray< NSString * > *)  extensionKeys 
optional

Message extension deleted.

◆ onRecvMessageReactionsChanged:()

- (void) onRecvMessageReactionsChanged: (NSArray< V2TIMMessageReactionChangeInfo * > *)  changeList
optional

Message reaction changed This callback is an incremental callback for message reactions, and will only contain the changed reactions information. When the totalUserCount value in the changed reaction is 0, it means that no users are using the reaction, and you can remove the display of the reaction on the UI.

◆ onRecvMessageRevoked:()

- (void) onRecvMessageRevoked: (NSString *)  msgID
optional

Received a message recall notification (It is deprecated and discouraged to use this callback. Please use onRecvMessageRevoked:operateUser:reason: instead )