Properties
| Name | Type | Description |
|---|---|---|
| type | integer | |
| id | object | |
| custom_id | string | |
| style | object | |
| label | stringnull | |
| value | stringnull | |
| placeholder | stringnull | |
| required | booleannull | |
| min_length | integernull | |
| max_length | integernull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MessageComponentInputTextResponse",
"title": "MessageComponentInputTextResponse",
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
4
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"custom_id": {
"type": "string"
},
"style": {
"$ref": "#/components/schemas/TextStyleTypes"
},
"label": {
"type": [
"string",
"null"
]
},
"value": {
"type": [
"string",
"null"
]
},
"placeholder": {
"type": [
"string",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"min_length": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"max_length": {
"type": [
"integer",
"null"
],
"format": "int32"
}
},
"required": [
"type",
"id",
"custom_id",
"style"
]
}