Slack.Web.Conversations.members
You're seeing just the function
members
, go back to Slack.Web.Conversations module for more information.
Returns a paginated list of members party to a conversation.
Required Params
channel
- ID of the conversation to retrieve members for ex:G1234567890
Optional Params
cursor
- Paginate through collections of data by setting the cursor parameter to anext_cursor
attribute returned by a previous request'sresponse_metadata
. Default value fetches the first "page" of the collection. See pagination for more detail. ex:dXNlcjpVMDYxTkZUVDI=
exclude_archived
- Set this totrue
to exclude archived channels from the list ex:true
limit
- The maximum number of items to return. Fewer than the requested number of items may be returned, even if the end of the list hasn't been reached. ex:20
Errors the API can return:
channel_not_found
- Value passed forchannel
was invalid.fetch_members_failed
- Failed to fetch members for the conversation.invalid_cursor
- Value passed forcursor
was invalid.invalid_limit
- Value passed forlimit
was invalid.method_not_supported_for_channel_type
- This type of conversation cannot be used with this method.