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

Detailed Description

Message read receipt.

Public Member Functions

 V2TIMMessageReceipt ()
 
 V2TIMMessageReceipt (const V2TIMMessageReceipt &)
 
 ~V2TIMMessageReceipt ()
 

Data Fields

V2TIMString msgID
 
V2TIMString userID
 
bool isPeerRead
 
int64_t timestamp
 
V2TIMString groupID
 
int32_t readCount
 
int32_t unreadCount
 

Constructor & Destructor Documentation

◆ V2TIMMessageReceipt() [1/2]

◆ V2TIMMessageReceipt() [2/2]

◆ ~V2TIMMessageReceipt()

Field Documentation

◆ msgID

V2TIMString msgID

Unique ID of the message.

◆ userID

V2TIMString userID

UserID of the other party who has read the message.

◆ isPeerRead

bool isPeerRead

Whether the message is read by the peer party (valid only for one-to-one messages)

◆ timestamp

int64_t timestamp

The peer read time (valid only for one-to-one messages) If msgID is empty, this parameter indicates the time when the peer user mark the conversation as read. If msgID is not empty, this parameter indicates the time when the peer user send message read receipt (supported only in 8.1 and later versions)

◆ groupID

V2TIMString groupID

Group ID.

◆ readCount

int32_t readCount

Numbers of group members who have read the group message specified by seq.

◆ unreadCount

int32_t unreadCount

Numbers of group members who have not read the group message specified by seq.