mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-11-14 07:49:48 -05:00
Automated spec update (157760)
This commit is contained in:
parent
471ad9bea1
commit
62071cdbc3
2 changed files with 128 additions and 0 deletions
|
|
@ -22627,6 +22627,62 @@
|
||||||
"spoiler"
|
"spoiler"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"FileUploadComponentForModalRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
19
|
||||||
|
],
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"id": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"custom_id": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
|
"maxLength": 100
|
||||||
|
},
|
||||||
|
"min_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"max_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"required": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"type",
|
||||||
|
"custom_id"
|
||||||
|
]
|
||||||
|
},
|
||||||
"FlagToChannelAction": {
|
"FlagToChannelAction": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -27382,6 +27438,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/FileUploadComponentForModalRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
|
@ -28905,6 +28964,11 @@
|
||||||
"title": "LABEL",
|
"title": "LABEL",
|
||||||
"description": "Label component",
|
"description": "Label component",
|
||||||
"const": 18
|
"const": 18
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "FILE_UPLOAD",
|
||||||
|
"description": "File upload component",
|
||||||
|
"const": 19
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
|
||||||
|
|
@ -23125,6 +23125,62 @@
|
||||||
"spoiler"
|
"spoiler"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"FileUploadComponentForModalRequest": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"type": {
|
||||||
|
"type": "integer",
|
||||||
|
"enum": [
|
||||||
|
19
|
||||||
|
],
|
||||||
|
"allOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/MessageComponentTypes"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"id": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"format": "int32"
|
||||||
|
},
|
||||||
|
"custom_id": {
|
||||||
|
"type": "string",
|
||||||
|
"minLength": 1,
|
||||||
|
"maxLength": 100
|
||||||
|
},
|
||||||
|
"min_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 0,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"max_values": {
|
||||||
|
"type": [
|
||||||
|
"integer",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"minimum": 1,
|
||||||
|
"maximum": 10
|
||||||
|
},
|
||||||
|
"required": {
|
||||||
|
"type": [
|
||||||
|
"boolean",
|
||||||
|
"null"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"required": [
|
||||||
|
"type",
|
||||||
|
"custom_id"
|
||||||
|
]
|
||||||
|
},
|
||||||
"FlagToChannelAction": {
|
"FlagToChannelAction": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -28027,6 +28083,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/FileUploadComponentForModalRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
|
@ -29550,6 +29609,11 @@
|
||||||
"title": "LABEL",
|
"title": "LABEL",
|
||||||
"description": "Label component",
|
"description": "Label component",
|
||||||
"const": 18
|
"const": 18
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "FILE_UPLOAD",
|
||||||
|
"description": "File upload component",
|
||||||
|
"const": 19
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue