AI Integration Quick Reference
AI Integration Quick Reference
Retrieve List of Groups
UseGroupsRequestBuilder to configure filters, then call fetchNext() to retrieve groups.
Set Limit
Set the number of groups to fetch per request.- Java
- Kotlin
Set Search Keyword
Filter groups by a search string.- Java
- Kotlin
Joined Only
Return only groups the logged-in user has joined.- Java
- Kotlin
Set Tags
Filter groups by tags. Only groups tagged with the specified tags are returned.- Java
- Kotlin
With Tags
Include tag data in the response when set totrue.
- Java
- Kotlin
Fetch Groups
After configuring the builder, callbuild() then fetchNext() to retrieve groups. Public and password-protected groups are always included. Private groups only appear if the user is a member.
- Java
- Kotlin
Retrieve Particular Group Details
UsegetGroup() to fetch details for a specific group by GUID.
- Java
- Kotlin
On success, the
Group object containing the details of the group is returned.
Get Online Group Member Count
UsegetOnlineGroupMemberCount() to get the count of online members for specific groups.
- Java
- Kotlin
Hashmap with the GUID of the group as the key and the online member count for that group as the value.
Group Payload Structure
Group Object
Group Object
The
Group object returned by SDK methods contains the following fields:Sample Group Object:
Next Steps
Create Group
Create new groups for your users
Join Group
Join groups to participate in conversations
Retrieve Members
Fetch list of group members
Additional Filtering
Learn more about advanced filtering options