Properties
| Name | Type | Description |
|---|---|---|
| type | integer | |
| custom_id | string | |
| placeholder | stringnull | |
| min_values | integernull | |
| max_values | integernull | |
| disabled | booleannull | |
| default_values | arraynull | |
| channel_types | arraynull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ChannelSelect",
"title": "ChannelSelect",
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
8
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelSelectDefaultValue"
},
"maxItems": 25
},
"channel_types": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelTypes"
},
"uniqueItems": true
}
},
"required": [
"type",
"custom_id"
]
}