orbis.getGroupMembers()
Returns an array of users
members of a group
.
How to use?
let { data, error } = await orbis.getGroupMembers(group_id);
Parameters
group_id
: ID of the group
Returns
/** Returns an array of users who are members of a specific group_id */
[
{
stream_id: "k...",
group_id: "k...",
profile_details: {
did: "did:pkh:...",
profile: {
pfp: "https://...",
username: "Baptiste",
description: "..."
}
}
},
...
]
Next steps
Explore other parts of the API.