AI Integration Quick Reference
AI Integration Quick Reference
Retrieve the List of Group Members
UseGroupMembersRequestBuilder with the group’s GUID to configure filters, then call fetchNext(). Each result is a GroupMember object.
Set Limit
Set the number of members to fetch per request.- Java
- Kotlin
Set Search Keyword
Filter members by a search string.- Java
- Kotlin
Set Scopes
Filter members by scope (e.g.,"admin", "moderator", "participant").
- Java
- Kotlin
Fetch Members
After configuring the builder, callbuild() then fetchNext() to retrieve members.
- Java
- Kotlin
GroupMember Payload Structure
GroupMember Object
GroupMember Object
The
Sample GroupMember Object:
GroupMember object extends User and contains all User fields plus group-specific fields:| Parameter | Type | Description |
|---|---|---|
uid | String | Unique identifier of the user |
name | String | Display name of the user |
avatar | String | URL to user’s profile picture |
link | String | URL to user’s profile page |
role | String | User role for access control |
metadata | JSONObject | Custom data set by developer |
status | String | User online status. Values: "online", "offline" |
statusMessage | String | Custom status message |
lastActiveAt | long | Unix timestamp of last activity |
hasBlockedMe | boolean | Whether this user has blocked the logged-in user |
blockedByMe | boolean | Whether the logged-in user has blocked this user |
tags | Array<String> | List of tags for user identification |
deactivatedAt | long | Unix timestamp when user was deactivated (0 if active) |
scope | String | Member’s scope in the group. Values: "admin", "moderator", "participant" |
joinedAt | long | Unix timestamp when member joined the group |
Next Steps
Add Members
Add new members to groups
Kick Member
Remove members from groups
Change Member Scope
Update member roles and permissions
Retrieve Groups
Fetch list of available groups