List members of a group channel
Retrieves a list of members of a group channel.
Note: See this page to learn more about channel types.
HTTP request
Parameters
The following table lists the parameters that this action supports.
Parameters
Required | Type | Description |
---|---|---|
channel_url | string | Specifies the URL of the channel. |
Optional | Type | Description |
---|---|---|
user_id | string | Specifies the unique ID of a user. If |
token | string | Specifies a page token that indicates the starting index of a chunk of results to retrieve. If not specified, the index is set as 0. |
limit | int | Specifies the number of results to return per page. Acceptable values are 1 to 100, inclusive. (Default: 10) |
show_delivery_receipt | boolean | Determines whether to include information about the delivery receipt of each member of the channel in the response. The delivery receipt indicates the timestamp of when each member has last received messages from the Sendbird server in the channel, in Unix milliseconds |
show_read_receipt | boolean | Determines whether to include information about the read receipt of each member of the channel in the response. The read receipt indicates the timestamp of when each member has last read messages in the channel, in Unix milliseconds |
show_member_is_muted | boolean | Determines whether to include information about the mute status of each member. (Default: false) |
order | string | Specifies the method to sort a list of results. Acceptable values are the following: |
operator_filter | string | Restricts the search scope to only retrieve operators or non-operator members of the channel. Acceptable values are the following: |
member_state_filter | string | Restricts the search scope to retrieve members based on if they have accepted an invitation or if they were invited by a friend. Acceptable values are invited_only, joined_only, invited_by_friend, invited_by_non_friend, and all. (Default: all) |
muted_member_filter | string | Restricts the search scope to retrieve members who are muted or unmuted in the channel. Acceptable values are all, muted, and unmuted. (Default: all) |
nickname_startswith | string | Searches for members whose nicknames start with the specified value. Urlencoding the value is recommended. |
Response
If successful, this action returns a list of user resources registered as channel members in the response body.
List of response properties
Property name | Type | Description |
---|---|---|
members[] | array of objects | An array of user objects that are channel members. |
next | string | The value for the |
In the case of an error, an error object is returned. A detailed list of error codes is available here.