channel

チャンネルを作成します。

post/channels

Request body

privateboolean

プライベートチャンネルかどうか

memberstring[]

UUIDの配列

namestring

チャンネル名

parentstring uuid

親のチャンネルID

Example request

{
  "name": "random",
  "parent": "xxxxxxxx-xxxx-xxxx-Nxxx-xxxxxxxxxxxx"
}

Response

正常にチャンネルが作成できました。 作成されたチャンネルを返します。

channelIdstring uuid

チャンネルUUID

namestring

チャンネル名

memberstring[]

UUIDの配列

parentstring uuid

親の階層のチャンネルUUID

topicstring

チャンネルトピック

childrenstring[]

UUIDの配列

visibilityboolean

チャンネルの可視状態

forceboolean

強制通知チャンネルか

privateboolean

プライベートチャンネルか

dmboolean

ダイレクトメッセージチャンネルか

Example response

{
  "name": "yamada",
  "topic": "yamadaチャンネルです!"
}

Changes