Properties
| Name | Type | Description |
|---|---|---|
| type | integer | |
| custom_id | string | |
| placeholder | stringnull | |
| min_values | integernull | |
| max_values | integernull | |
| disabled | booleannull | |
| options | array |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/StringSelect",
"title": "StringSelect",
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
3
],
"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"
]
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/SelectOption"
},
"minItems": 1,
"maxItems": 25
}
},
"required": [
"type",
"custom_id",
"options"
]
}