Class GroupReadReceiptInfoV2

  • All Implemented Interfaces:

    
    public class GroupReadReceiptInfoV2
    
                        

    Only when using Group Read Receipt V2, this attribute is required for group messages. For V1 or other non-group conversation types, this attribute is NULL.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      List<GroupMessageReader> getRespondUserIdList() Retrieves the list of user IDs of members who have responded to this message receipt in the conversation (key: userId, value: respondTime).
      void setRespondUserIdList(List<GroupMessageReader> respondUserIdList) Sets the list of members who have responded to the message receipt in the conversation.
      int getReadCount()
      void setReadCount(int readCount)
      int getTotalCount()
      void setTotalCount(int totalCount)
      JSONObject toJSON()
      boolean hasRespond() Indicates whether a message receipt response has been sent (valid only for the message receiver).
      int describeContents()
      void writeToParcel(Parcel dest, int flags)
      String toString()
      void setHasRespond(boolean hasRespond) Sets whether a message receipt response has been sent (only valid for the message receiver).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GroupReadReceiptInfoV2

        GroupReadReceiptInfoV2()
      • GroupReadReceiptInfoV2

        GroupReadReceiptInfoV2(String jsonString)
      • GroupReadReceiptInfoV2

        GroupReadReceiptInfoV2(Parcel in)
    • Method Detail

      • getRespondUserIdList

         List<GroupMessageReader> getRespondUserIdList()

        Retrieves the list of user IDs of members who have responded to this message receipt in the conversation (key: userId, value: respondTime).

        Returns:

        The list of user IDs of members who have responded to this message receipt in the conversation (key: userId, value: respondTime).

      • setRespondUserIdList

         void setRespondUserIdList(List<GroupMessageReader> respondUserIdList)

        Sets the list of members who have responded to the message receipt in the conversation.

        Parameters:
        respondUserIdList - List of members who have responded to the message receipt in the conversation.
      • hasRespond

         boolean hasRespond()

        Indicates whether a message receipt response has been sent (valid only for the message receiver).

        Returns:

        Indicates whether a message receipt response has been sent (valid only for the message receiver).

      • setHasRespond

         void setHasRespond(boolean hasRespond)

        Sets whether a message receipt response has been sent (only valid for the message receiver).

        Parameters:
        hasRespond - Indicates whether a message receipt response has been sent (only valid for the message receiver).