GET/bots/{botId}/channels/{channelId}/members

Bot が参加しているトークルームのユーザーリストを取得する。

Authorization

oauth2

Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。

Scope

bot.message
bot
bot.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/bots/{botId}/channels/{channelId}/members

Path Parameters

ParameterTypeDescription
botId integer 

Bot ID


required
example : 2000001
format : int64 
channelId string 

チャンネル ID (= トークルーム ID)

参考
トークルーム画面のメニューにある「チャンネル ID」からも、channelId を確認できます。


required
example : 12345a12-b12c-12d3-e123fghijkl 

Query Parameters

ParameterTypeDescription
count integer 

取得数


required
default : 50
minimum : 1
maximum : 100
example : 60
format : int64 
cursor string 

リストのカーソル値 (URL エンコードする)


example : JlIBsfJogXpzDGY8OscZziqZpYqCAu3RbZbaFzBb1od6lWQtSdPUd2FIdCuaGgu8DA== 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
members array (string) 

ユーザーリスト

 
responseMetaData object (responseMetaData) 

レスポンスのメタデータ

 

responseMetaData

PropertyTypeDescription
nextCursor string 

次のリストが存在する場合のカーソル値


required 

Response Example

example

1{2  "members": [3    "560dd110-b4f9-44a4-1322-04bac6fff134",4    "a3d99c51-62bd-4968-1390-041849ad14a5"5  ],6  "responseMetaData": {7    "nextCursor": "eyJjcmVhdGVkVGltZSI6MTYzOTY2ODU2NCwib2Zmc2V0IjoyLCJsaW1pdCI6Mr0="8  }9}