GET/bots/{botId}/channels/{channelId}
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 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| domainId | integer | ドメイン ID |
| channelId | string | トークルーム ID |
| title | string | トークルーム名 maxLength : 1000 |
| channelType | object (channelType) |
| Property | Type | Description |
|---|---|---|
| type | string | トークルームのタイプ
|
| orgUnitId | string | 組織 ID (組織のトークルームの場合にのみ含まれる) |
| groupId | string | グループ ID (グループのトークルームの場合にのみ含まれる) |
example
1{2 "domainId": 10000001,3 "channelId": "12345a12-b12c-12d3-e123fghijkl",4 "title": "Example title",5 "channelType": {6 "type": "MULTI_USERS"7 }8}