mirror of
https://github.com/discord/discord-api-spec.git
synced 2025-09-05 07:12:38 -04:00
Automated spec update (142469)
This commit is contained in:
parent
a57dcabd62
commit
43169b3f83
2 changed files with 960 additions and 2 deletions
|
@ -20469,6 +20469,94 @@
|
||||||
"custom_id"
|
"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": {
|
"ChannelSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -21381,7 +21469,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 604800
|
"maximum": 5184000
|
||||||
},
|
},
|
||||||
"temporary": {
|
"temporary": {
|
||||||
"type": [
|
"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": {
|
"LaunchActivityInteractionCallbackRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -29197,6 +29350,91 @@
|
||||||
"custom_id"
|
"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": {
|
"MentionableSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -29668,6 +29906,11 @@
|
||||||
"title": "CONTAINER",
|
"title": "CONTAINER",
|
||||||
"description": "Container component",
|
"description": "Container component",
|
||||||
"const": 17
|
"const": 17
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "LABEL",
|
||||||
|
"description": "Label component",
|
||||||
|
"const": 18
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -31361,6 +31604,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/LabelComponentForModalRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||||
}
|
}
|
||||||
|
@ -33760,6 +34006,84 @@
|
||||||
"custom_id"
|
"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": {
|
"RoleSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -35290,6 +35614,83 @@
|
||||||
"options"
|
"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": {
|
"StringSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -37492,6 +37893,84 @@
|
||||||
"custom_id"
|
"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": {
|
"UserSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
|
@ -20872,6 +20872,94 @@
|
||||||
"custom_id"
|
"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": {
|
"ChannelSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -21790,7 +21878,7 @@
|
||||||
"null"
|
"null"
|
||||||
],
|
],
|
||||||
"minimum": 0,
|
"minimum": 0,
|
||||||
"maximum": 604800
|
"maximum": 5184000
|
||||||
},
|
},
|
||||||
"temporary": {
|
"temporary": {
|
||||||
"type": [
|
"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": {
|
"LaunchActivityInteractionCallbackRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -29783,6 +29936,91 @@
|
||||||
"custom_id"
|
"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": {
|
"MentionableSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -30254,6 +30492,11 @@
|
||||||
"title": "CONTAINER",
|
"title": "CONTAINER",
|
||||||
"description": "Container component",
|
"description": "Container component",
|
||||||
"const": 17
|
"const": 17
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"title": "LABEL",
|
||||||
|
"description": "Label component",
|
||||||
|
"const": 18
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": "int32"
|
"format": "int32"
|
||||||
|
@ -31947,6 +32190,9 @@
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
"$ref": "#/components/schemas/ActionRowComponentForModalRequest"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/LabelComponentForModalRequest"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
"$ref": "#/components/schemas/TextDisplayComponentForModalRequest"
|
||||||
}
|
}
|
||||||
|
@ -34639,6 +34885,84 @@
|
||||||
"custom_id"
|
"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": {
|
"RoleSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -36705,6 +37029,83 @@
|
||||||
"options"
|
"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": {
|
"StringSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -38931,6 +39332,84 @@
|
||||||
"custom_id"
|
"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": {
|
"UserSelectComponentResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
Loading…
Reference in a new issue