main - Automated spec update (142469)

made at remote:2025-08-26T22:07:28

taken at now:2025-08-26T22:10:02

made by remote Nelly (automation bot) <>
This commit is contained in:
Adversary 2025-08-26 22:10:02 +00:00
parent 70949247dc
commit f32ab81c0d
2 changed files with 960 additions and 2 deletions

View file

@ -20469,6 +20469,94 @@
"custom_id"
]
},
"ChannelSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
8
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelSelectDefaultValue"
},
"maxItems": 25
},
"channel_types": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelTypes"
},
"uniqueItems": true
}
},
"required": [
"type",
"custom_id"
]
},
"ChannelSelectComponentResponse": {
"type": "object",
"properties": {
@ -21381,7 +21469,7 @@
"null"
],
"minimum": 0,
"maximum": 604800
"maximum": 5184000
},
"temporary": {
"type": [
@ -28177,6 +28265,71 @@
}
}
},
"LabelComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
18
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 45
},
"description": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 100
},
"component": {
"oneOf": [
{
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/RoleSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/StringSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/TextInputComponentForModalRequest"
},
{
"$ref": "#/components/schemas/UserSelectComponentForModalRequest"
}
]
}
},
"required": [
"type",
"label",
"component"
]
},
"LaunchActivityInteractionCallbackRequest": {
"type": "object",
"properties": {
@ -29197,6 +29350,91 @@
"custom_id"
]
},
"MentionableSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
7
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
{
"$ref": "#/components/schemas/UserSelectDefaultValue"
}
]
},
"maxItems": 25
}
},
"required": [
"type",
"custom_id"
]
},
"MentionableSelectComponentResponse": {
"type": "object",
"properties": {
@ -29668,6 +29906,11 @@
"title": "CONTAINER",
"description": "Container component",
"const": 17
},
{
"title": "LABEL",
"description": "Label component",
"const": 18
}
],
"format": "int32"
@ -31361,6 +31604,9 @@
{
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
},
{
"$ref": "#/components/schemas/LabelComponentForModalRequest"
},
{
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
}
@ -33760,6 +34006,84 @@
"custom_id"
]
},
"RoleSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
6
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
"type",
"custom_id"
]
},
"RoleSelectComponentResponse": {
"type": "object",
"properties": {
@ -35290,6 +35614,83 @@
"options"
]
},
"StringSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
3
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StringSelectOptionForRequest"
},
"minItems": 1,
"maxItems": 25
}
},
"required": [
"type",
"custom_id",
"options"
]
},
"StringSelectComponentResponse": {
"type": "object",
"properties": {
@ -37492,6 +37893,84 @@
"custom_id"
]
},
"UserSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
5
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/UserSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
"type",
"custom_id"
]
},
"UserSelectComponentResponse": {
"type": "object",
"properties": {

View file

@ -20872,6 +20872,94 @@
"custom_id"
]
},
"ChannelSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
8
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelSelectDefaultValue"
},
"maxItems": 25
},
"channel_types": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/ChannelTypes"
},
"uniqueItems": true
}
},
"required": [
"type",
"custom_id"
]
},
"ChannelSelectComponentResponse": {
"type": "object",
"properties": {
@ -21790,7 +21878,7 @@
"null"
],
"minimum": 0,
"maximum": 604800
"maximum": 5184000
},
"temporary": {
"type": [
@ -28763,6 +28851,71 @@
}
}
},
"LabelComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
18
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"label": {
"type": "string",
"minLength": 1,
"maxLength": 45
},
"description": {
"type": [
"string",
"null"
],
"minLength": 1,
"maxLength": 100
},
"component": {
"oneOf": [
{
"$ref": "#/components/schemas/ChannelSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/MentionableSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/RoleSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/StringSelectComponentForModalRequest"
},
{
"$ref": "#/components/schemas/TextInputComponentForModalRequest"
},
{
"$ref": "#/components/schemas/UserSelectComponentForModalRequest"
}
]
}
},
"required": [
"type",
"label",
"component"
]
},
"LaunchActivityInteractionCallbackRequest": {
"type": "object",
"properties": {
@ -29783,6 +29936,91 @@
"custom_id"
]
},
"MentionableSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
7
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
{
"$ref": "#/components/schemas/UserSelectDefaultValue"
}
]
},
"maxItems": 25
}
},
"required": [
"type",
"custom_id"
]
},
"MentionableSelectComponentResponse": {
"type": "object",
"properties": {
@ -30254,6 +30492,11 @@
"title": "CONTAINER",
"description": "Container component",
"const": 17
},
{
"title": "LABEL",
"description": "Label component",
"const": 18
}
],
"format": "int32"
@ -31947,6 +32190,9 @@
{
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
},
{
"$ref": "#/components/schemas/LabelComponentForModalRequest"
},
{
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
}
@ -34639,6 +34885,84 @@
"custom_id"
]
},
"RoleSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
6
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/RoleSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
"type",
"custom_id"
]
},
"RoleSelectComponentResponse": {
"type": "object",
"properties": {
@ -36705,6 +37029,83 @@
"options"
]
},
"StringSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
3
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"options": {
"type": "array",
"items": {
"$ref": "#/components/schemas/StringSelectOptionForRequest"
},
"minItems": 1,
"maxItems": 25
}
},
"required": [
"type",
"custom_id",
"options"
]
},
"StringSelectComponentResponse": {
"type": "object",
"properties": {
@ -38931,6 +39332,84 @@
"custom_id"
]
},
"UserSelectComponentForModalRequest": {
"type": "object",
"properties": {
"type": {
"type": "integer",
"enum": [
5
],
"allOf": [
{
"$ref": "#/components/schemas/MessageComponentTypes"
}
],
"format": "int32"
},
"id": {
"type": [
"integer",
"null"
],
"minimum": 0,
"format": "int32"
},
"custom_id": {
"type": "string",
"maxLength": 100
},
"placeholder": {
"type": [
"string",
"null"
],
"maxLength": 150
},
"min_values": {
"type": [
"integer",
"null"
],
"minimum": 0,
"maximum": 25
},
"max_values": {
"type": [
"integer",
"null"
],
"minimum": 1,
"maximum": 25
},
"disabled": {
"type": [
"boolean",
"null"
]
},
"required": {
"type": [
"boolean",
"null"
]
},
"default_values": {
"type": [
"array",
"null"
],
"items": {
"$ref": "#/components/schemas/UserSelectDefaultValue"
},
"maxItems": 25
}
},
"required": [
"type",
"custom_id"
]
},
"UserSelectComponentResponse": {
"type": "object",
"properties": {