AI Integration Quick Reference
AI Integration Quick Reference
Group objects the logged-in user can see, get details for a specific group, or check online member counts.
Retrieve List of Groups
UseGroupsRequestBuilder to fetch groups with filtering, searching, and pagination.
Fetching using this builder will return Group objects.
Set Limit
Sets the number of groups to fetch per request.- TypeScript
- JavaScript
Set Search Keyword
Filters groups by a search string.- TypeScript
- JavaScript
Joined Only
Whentrue, returns only groups the logged-in user has joined.
- TypeScript
- JavaScript
Set Tags
Filters groups by specified tags.- TypeScript
- JavaScript
With Tags
Whentrue, includes tag data in the returned group objects.
- TypeScript
- JavaScript
After configuring the builder, call
build() to get the GroupsRequest object, then call fetchNext() to retrieve groups.
The list only includes public and password-protected groups. Private groups appear only if the user is a member.
- TypeScript
- JavaScript
fetchNext() method returns an array of Group objects.
Retrieve Particular Group Details
UsegetGroup() to fetch a specific group’s details by GUID.
- TypeScript
- JavaScript
The method returns a
Group object.
Get Online Group Member Count
UsegetOnlineGroupMemberCount() to get the number of online members in specified groups.
- TypeScript
- JavaScript
getOnlineGroupMemberCount() resolves with a { guid: count } object where each key is a group GUID and its value is the number of currently online members in that group.
Next Steps
Create Group
Create public, private, or password-protected groups
Retrieve Group Members
Fetch and filter members of a specific group