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

String getMsgID ()
 
String getUserID ()
 
boolean isPeerRead ()
 
long getTimestamp ()
 
String getGroupID ()
 
long getReadCount ()
 
long getUnreadCount ()
 

Member Function Documentation

◆ getMsgID()

String getMsgID ( )
inline

Get the unique ID of the message

◆ getUserID()

String getUserID ( )
inline

UserID of the other party who has read the message

◆ isPeerRead()

boolean isPeerRead ( )
inline

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

◆ getTimestamp()

long getTimestamp ( )
inline

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)

◆ getGroupID()

String getGroupID ( )
inline

Group ID

◆ getReadCount()

long getReadCount ( )
inline

Get the numbers of group members who have read the group message.

◆ getUnreadCount()

long getUnreadCount ( )
inline

Get the numbers of group members who have not read the group message.