AI Integration Quick Reference
AI Integration Quick Reference
GroupMember objects, which extend User with group-specific fields like scope.
Retrieve the List of Group Members
UseGroupMembersRequestBuilder to fetch members of a Group. The GUID must be specified in the constructor.
Fetching using this builder will return GroupMember objects. GroupMember extends User and adds group-specific fields.
Set Limit
Sets the number of members to fetch per request.- TypeScript
- JavaScript
Set Search Keyword
With offline support on, this filter is answered by the server only; the cached page is empty.
- TypeScript
- JavaScript
Set Scopes
Filters members by one or more scopes (admin, moderator, participant).
- TypeScript
- JavaScript
Set Status
With offline support on, this filter is answered by the server only; the cached page is empty.
If not set, returns all members regardless of status.
- TypeScript
- JavaScript
build() to create the request, then fetchNext() to retrieve members. Call fetchNext() repeatedly on the same instance to paginate.
- TypeScript
- JavaScript
fetchNext() method returns an array of GroupMember objects. GroupMember extends User and adds group-specific fields.
Offline Behaviour
With offline support enabled, passing aGroupMemberFetchListener to GroupMembersRequest.fetchNext() calls onCachedGroupMembers first with the pages the server last returned for this exact request, replayed from the device (empty when nothing was recorded). Then onServerGroupMembers delivers the live page to reconcile by uid. Offline, the read ends with onError (FAILED_TO_FETCH) after the cached page, and the Promise rejects. A request that uses a server-only filter records nothing, so its cached page is always empty. See Show Cached Data.
Next Steps
Add Members
Add users to a group programmatically
Kick & Ban Members
Remove or ban members from a group
Change Member Scope
Update member roles within a group
Retrieve Groups
Fetch group lists and group details