diff --git a/specs/openapi.json b/specs/openapi.json index fe1e544..d3f6ff3 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -9374,7 +9374,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PrivateChannelRequestPartial" + "$ref": "#/components/schemas/UpdateDMRequestPartial" + }, + { + "$ref": "#/components/schemas/UpdateGroupDMRequestPartial" }, { "$ref": "#/components/schemas/UpdateGuildChannelRequestPartial" @@ -26604,26 +26607,6 @@ "channel_id" ] }, - "PrivateChannelRequestPartial": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 100 - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - } - } - }, "PrivateChannelResponse": { "type": "object", "properties": { @@ -29395,6 +29378,19 @@ "maximum": 4294967295, "format": "int64" }, + "UpdateDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + } + } + }, "UpdateDefaultReactionEmojiRequest": { "type": "object", "properties": { @@ -29417,6 +29413,26 @@ } } }, + "UpdateGroupDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + }, + "icon": { + "type": [ + "string", + "null" + ], + "contentEncoding": "base64" + } + } + }, "UpdateGuildChannelRequestPartial": { "type": "object", "properties": { diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index db9d6e2..c321a6f 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -9374,7 +9374,10 @@ "schema": { "anyOf": [ { - "$ref": "#/components/schemas/PrivateChannelRequestPartial" + "$ref": "#/components/schemas/UpdateDMRequestPartial" + }, + { + "$ref": "#/components/schemas/UpdateGroupDMRequestPartial" }, { "$ref": "#/components/schemas/UpdateGuildChannelRequestPartial" @@ -26689,26 +26692,6 @@ "channel_id" ] }, - "PrivateChannelRequestPartial": { - "type": "object", - "properties": { - "name": { - "type": [ - "string", - "null" - ], - "minLength": 0, - "maxLength": 100 - }, - "icon": { - "type": [ - "string", - "null" - ], - "contentEncoding": "base64" - } - } - }, "PrivateChannelResponse": { "type": "object", "properties": { @@ -29827,6 +29810,19 @@ "maximum": 4294967295, "format": "int64" }, + "UpdateDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + } + } + }, "UpdateDefaultReactionEmojiRequest": { "type": "object", "properties": { @@ -29849,6 +29845,26 @@ } } }, + "UpdateGroupDMRequestPartial": { + "type": "object", + "properties": { + "name": { + "type": [ + "string", + "null" + ], + "minLength": 0, + "maxLength": 100 + }, + "icon": { + "type": [ + "string", + "null" + ], + "contentEncoding": "base64" + } + } + }, "UpdateGuildChannelRequestPartial": { "type": "object", "properties": {