--- sidebar_position: 2 --- import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; # Get channel user list Gets a list of users in the specified channel `Function GetChannelUserList(Val Token, Val Channel, Val Cursor = "") Export` | Parameter | CLI option | Type | Required | Description | |-|-|-|-|-| | Token | --token | String | ✔ | Bot token | | Channel | --channel | String | ✔ | Channel ID | | Cursor | --cursor | String | ✖ | Pointer from the previous request, if the result rows > 100 | Returns: Map Of KeyAndValue - serialized JSON response from Slack
```bsl title="1C:Enterprise/OneScript code example" Token = "xoxb-6965308400114-696804637..."; Channel = "C08066MF754"; Result = OPI_Slack.GetChannelUserList(Token, Channel); ``` ```bash oint slack GetChannelUserList \ --token "***" \ --channel "C080RUYN8PK" ``` ```batch oint slack GetChannelUserList ^ --token "***" ^ --channel "C080RUYN8PK" ``` ```json title="Result" { "ok": true, "members": [ "U06UG1CAYH2" ], "response_metadata": { "next_cursor": "" } } ```