-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document /groups/:group_id/members
endpoint
#9
Comments
the the response includes an array of members similar to when here's an example response where "memberships": [
{
"id": "645845814", // member.ID
"user_id": "442913", // user.ID
"name": "Bryan Warman", // user.name
"nickname": "Bryan Warman", // member.nickname
"image_url": "https://i.groupme.com/1024x1024.jpeg.6c163c9f58614f9686d0bdbf33846469", // user.avatar? (optional)
"autokicked": true, // member.autokicked? (optional)
"muted": true, // member.muted? (optional)
"roles": [ // member.roles
"user" // (For former users, this is always "user")
],
"state": "exited" // (For current users, this is always "active")
},
// ... more members ...
] |
note: if a current member has the |
for some reason, there's some level of permission required for using the /members endpoint In a closed group, you can't call /members at all without admin (neither active nor inactive can be fetched this way) but you can still get a list of active members from the /groups endpoint |
There's an endpoint for getting members which isn't covered in the official docs.
This endpoint can be used for fetching active or former members.
There's a required
filter
parameter used to specify what type of members to fetch.More details in the comments as they become available.
The text was updated successfully, but these errors were encountered: