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

봇이 포함된 메시지방의 구성원 목록을 조회한다.

Authorization

oauth2

OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.

Scope

bot.message
bot
bot.read

HTTP Request

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

Path Parameters

ParameterTypeDescription
botId integer 

봇 ID


required
example : 2000001
format : int64 
channelId string 

메시지방 ID

참고
메시지방 서랍 메뉴에서 '채널 ID'를 선택하면 channelId를 확인 할 수 있습니다.


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

Query Parameters

ParameterTypeDescription
count integer 

목록 조회 개수


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

다음 목록 조회 시 사용하는 커서값


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}