mirror of
https://github.com/discord/discord-api-spec.git
synced 2026-10-23 01:19:29 -04:00
Automated spec update (284624)
This commit is contained in:
parent
86f61fc1be
commit
bf93257f85
2 changed files with 102 additions and 0 deletions
|
|
@ -33132,6 +33132,24 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"MessageEmbedAudioResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"url": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"proxy_url": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri"
|
||||||
|
},
|
||||||
|
"content_type": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"MessageEmbedAuthorResponse": {
|
"MessageEmbedAuthorResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -33283,6 +33301,9 @@
|
||||||
"video": {
|
"video": {
|
||||||
"$ref": "#/components/schemas/MessageEmbedVideoResponse"
|
"$ref": "#/components/schemas/MessageEmbedVideoResponse"
|
||||||
},
|
},
|
||||||
|
"audio": {
|
||||||
|
"$ref": "#/components/schemas/MessageEmbedAudioResponse"
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"$ref": "#/components/schemas/MessageEmbedFooterResponse"
|
"$ref": "#/components/schemas/MessageEmbedFooterResponse"
|
||||||
},
|
},
|
||||||
|
|
@ -36839,6 +36860,36 @@
|
||||||
"$ref": "#/components/schemas/RichEmbedVideo"
|
"$ref": "#/components/schemas/RichEmbedVideo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"audio": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/RichEmbedAudio"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"RichEmbedAudio": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 2048,
|
||||||
|
"format": "uri"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 4096
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -33157,6 +33157,24 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"MessageEmbedAudioResponse": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"url": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"proxy_url": {
|
||||||
|
"type": "string",
|
||||||
|
"format": "uri"
|
||||||
|
},
|
||||||
|
"content_type": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
"MessageEmbedAuthorResponse": {
|
"MessageEmbedAuthorResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
|
@ -33308,6 +33326,9 @@
|
||||||
"video": {
|
"video": {
|
||||||
"$ref": "#/components/schemas/MessageEmbedVideoResponse"
|
"$ref": "#/components/schemas/MessageEmbedVideoResponse"
|
||||||
},
|
},
|
||||||
|
"audio": {
|
||||||
|
"$ref": "#/components/schemas/MessageEmbedAudioResponse"
|
||||||
|
},
|
||||||
"footer": {
|
"footer": {
|
||||||
"$ref": "#/components/schemas/MessageEmbedFooterResponse"
|
"$ref": "#/components/schemas/MessageEmbedFooterResponse"
|
||||||
},
|
},
|
||||||
|
|
@ -36864,6 +36885,36 @@
|
||||||
"$ref": "#/components/schemas/RichEmbedVideo"
|
"$ref": "#/components/schemas/RichEmbedVideo"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"audio": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/RichEmbedAudio"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"RichEmbedAudio": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"url": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 2048,
|
||||||
|
"format": "uri"
|
||||||
|
},
|
||||||
|
"description": {
|
||||||
|
"type": [
|
||||||
|
"string",
|
||||||
|
"null"
|
||||||
|
],
|
||||||
|
"maxLength": 4096
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue