mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-03 14:32:39 -04:00
Automated spec update (140130)
This commit is contained in:
parent
68a1e96553
commit
2470515a2b
2 changed files with 68 additions and 2 deletions
|
@ -31281,7 +31281,14 @@
|
|||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 40
|
||||
|
@ -35397,6 +35404,32 @@
|
|||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentForModalRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
10
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||
}
|
||||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 4000
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
|
@ -31888,7 +31888,14 @@
|
|||
"components": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||
},
|
||||
{
|
||||
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||
}
|
||||
]
|
||||
},
|
||||
"minItems": 1,
|
||||
"maxItems": 40
|
||||
|
@ -36833,6 +36840,32 @@
|
|||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentForModalRequest": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"type": "integer",
|
||||
"enum": [
|
||||
10
|
||||
],
|
||||
"allOf": [
|
||||
{
|
||||
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||
}
|
||||
],
|
||||
"format": "int32"
|
||||
},
|
||||
"content": {
|
||||
"type": "string",
|
||||
"minLength": 1,
|
||||
"maxLength": 4000
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type",
|
||||
"content"
|
||||
]
|
||||
},
|
||||
"TextDisplayComponentResponse": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
|
|
Loading…
Reference in a new issue