main - Automated spec update (157760)

made at remote:2025-10-17T02:19:46

taken at now:2025-10-17T03:10:01

made by remote Nelly (automation bot) <>
This commit is contained in:
Adversary 2025-10-17 03:10:01 +00:00
parent cc59d98052
commit 463c237b47
2 changed files with 128 additions and 0 deletions

View file

@ -22627,6 +22627,62 @@
"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": {
"type": "object",
"properties": {
@ -27382,6 +27438,9 @@
{
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/FileUploadComponentForModalRequest"
},
{
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
},
@ -28905,6 +28964,11 @@
"title": "LABEL",
"description": "Label component",
"const": 18
},
{
"title": "FILE_UPLOAD",
"description": "File upload component",
"const": 19
}
],
"format": "int32"

View file

@ -23125,6 +23125,62 @@
"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": {
"type": "object",
"properties": {
@ -28027,6 +28083,9 @@
{
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/FileUploadComponentForModalRequest"
},
{
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
},
@ -29550,6 +29609,11 @@
"title": "LABEL",
"description": "Label component",
"const": 18
},
{
"title": "FILE_UPLOAD",
"description": "File upload component",
"const": 19
}
],
"format": "int32"