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.
V2TIMAdvancedMsgListenerabstract

Public Member Functions

void onRecvNewMessage (V2TIMMessage msg)
 
void onRecvMessageReadReceipts (List< V2TIMMessageReceipt > receiptList)
 
void onRecvC2CReadReceipt (List< V2TIMMessageReceipt > receiptList)
 
void onRecvMessageRevoked (String msgID)
 
void onRecvMessageModified (V2TIMMessage msg)
 
void onRecvMessageExtensionsChanged (String msgID, List< V2TIMMessageExtension > extensions)
 
void onRecvMessageExtensionsDeleted (String msgID, List< String > extensionKeys)
 

Member Function Documentation

◆ onRecvNewMessage()

void onRecvNewMessage ( V2TIMMessage  msg)
inline

Received a new message

Parameters
msgMessage

◆ onRecvMessageReadReceipts()

void onRecvMessageReadReceipts ( List< V2TIMMessageReceipt receiptList)
inline

Notification of message read receipt(If the message sent by yourself supports read receipts, the message receiver calls sendMessageReadReceipts, and you will receive the notification)

◆ onRecvC2CReadReceipt()

void onRecvC2CReadReceipt ( List< V2TIMMessageReceipt receiptList)
inline

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()

void onRecvMessageRevoked ( String  msgID)
inline

Received a message recall notification

Parameters
msgIDUnique ID of a message

◆ onRecvMessageModified()

void onRecvMessageModified ( V2TIMMessage  msg)
inline

Message content modified

◆ onRecvMessageExtensionsChanged()

void onRecvMessageExtensionsChanged ( String  msgID,
List< V2TIMMessageExtension extensions 
)
inline

Message extension changed

◆ onRecvMessageExtensionsDeleted()

void onRecvMessageExtensionsDeleted ( String  msgID,
List< String >  extensionKeys 
)
inline

Message extension deleted