Discord · Schema
MessageComponentUserSelectResponse
ChatCommunicationGamingMessagingSocialVideoVoice
Properties
| Name | Type | Description |
|---|---|---|
| type | integer | |
| id | object | |
| custom_id | string | |
| placeholder | stringnull | |
| min_values | integernull | |
| max_values | integernull | |
| disabled | booleannull |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/MessageComponentUserSelectResponse",
"title": "MessageComponentUserSelectResponse",
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
5
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"$ref": "#/components/schemas/SnowflakeType"
},
"custom_id": {
"type": "string"
},
"placeholder": {
"type": [
"string",
"null"
]
},
"min_values": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"max_values": {
"type": [
"integer",
"null"
],
"format": "int32"
},
"disabled": {
"type": [
"boolean",
"null"
]
}
},
"required": [
"type",
"id",
"custom_id"
]
}