getGroupMembersByRole

public abstract void getGroupMembersByRole(String groupId, GroupMemberRole role, PagingQueryOption option, IRongCoreCallback.PageResultCallback<GroupMemberInfo> callback)

Retrieve the member list of a specified group with pagination.

Note: The results are prioritized in the following order: group owner, group administrators, and then regular group members.

Parameters

groupId

The group ID.

role

The role of the group members to query. Refer to GroupMemberRole.

option

Pagination request parameters. Refer to PagingQueryOption, which includes the page token (optional, defaults to the first page), the number of items per page (maximum 100), and whether to query in ascending order (defaults to descending order by join time).

callback

The callback through which the result is returned upon completion. Note: This interface returns the total count of paginated data.