mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-05 07:12:38 -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": {
|
"components": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"minItems": 1,
|
"minItems": 1,
|
||||||
"maxItems": 40
|
"maxItems": 40
|
||||||
|
@ -35397,6 +35404,32 @@
|
||||||
"content"
|
"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": {
|
"TextDisplayComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -31888,7 +31888,14 @@
|
||||||
"components": {
|
"components": {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
"items": {
|
"items": {
|
||||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||||
|
}
|
||||||
|
]
|
||||||
},
|
},
|
||||||
"minItems": 1,
|
"minItems": 1,
|
||||||
"maxItems": 40
|
"maxItems": 40
|
||||||
|
@ -36833,6 +36840,32 @@
|
||||||
"content"
|
"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": {
|
"TextDisplayComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Reference in a new issue