Properties
| Name | Type | Description |
|---|---|---|
| name | string | |
| type | integer | |
| topic | string | |
| bitrate | integer | |
| user_limit | integer | |
| rate_limit_per_user | integer | |
| position | integer | |
| permission_overwrites | array | |
| parent_id | object | |
| nsfw | boolean | |
| rtc_region | string | |
| video_quality_mode | integer | |
| default_auto_archive_duration | integer |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CreateChannelRequest",
"title": "CreateChannelRequest",
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100
},
"type": {
"type": "integer"
},
"topic": {
"type": "string",
"maxLength": 1024
},
"bitrate": {
"type": "integer"
},
"user_limit": {
"type": "integer"
},
"rate_limit_per_user": {
"type": "integer"
},
"position": {
"type": "integer"
},
"permission_overwrites": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Overwrite"
}
},
"parent_id": {
"$ref": "#/components/schemas/Snowflake"
},
"nsfw": {
"type": "boolean"
},
"rtc_region": {
"type": "string",
"nullable": true
},
"video_quality_mode": {
"type": "integer"
},
"default_auto_archive_duration": {
"type": "integer"
}
}
}