Browse SDKs · Android
SDKsAndroidEnterprise

Get members who read a group message

Retrieve members who have or have not read a group message using pagination.

Copy

Parameters

ParameterTypeRequiredDescription
conversationIDStringYesID of the group conversation.
clientMsgIDStringYesID of the message whose reader list to query.
filterintYesPass 0 for members who have read the message or 1 for members who have not read it.
offsetintYesPagination offset. Pass 0 for the first page.
countintYesMaximum number of members to retrieve.
messageManager.getGroupMessageReaderList(
    conversationID,
    clientMsgID,
    0,
    0,
    50,
    new OnBase<List<GroupMembersInfo>>() {
        @Override
        public void onSuccess(List<GroupMembersInfo> members) {
            // members contains the profiles of members who read the message.
        }

        @Override
        public void onError(int code, String error) {
            // Handle the failure
        }
    }
);

The success callback returns the current page of GroupMembersInfo objects. For field descriptions, see List group members. Continue paging when the complete list is required.