GET/bots/{botId}/channels/{channelId}/members
Bot が参加しているトークルームのユーザーリストを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
bot.message
bot
bot.read
| Parameter | Type | Description |
|---|---|---|
| botId | integer | Bot ID required example : 2000001 format : int64 |
| channelId | string | チャンネル ID (= トークルーム ID)
required example : 12345a12-b12c-12d3-e123fghijkl |
| Parameter | Type | Description |
|---|---|---|
| count | integer | 取得数 required default : 50 minimum : 1 maximum : 100 example : 60 format : int64 |
| cursor | string | リストのカーソル値 (URL エンコードする) example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| members | array (string) | ユーザーリスト |
| responseMetaData | object (responseMetaData) | レスポンスのメタデータ |
| Property | Type | Description |
|---|---|---|
| nextCursor | string | 次のリストが存在する場合のカーソル値 required |
example
1{2 "members": [3 "560dd110-b4f9-44a4-1322-04bac6fff134",4 "a3d99c51-62bd-4968-1390-041849ad14a5"5 ],6 "responseMetaData": {7 "nextCursor": "eyJjcmVhdGVkVGltZSI6MTYzOTY2ODU2NCwib2Zmc2V0IjoyLCJsaW1pdCI6Mr0="8 }9}