diff --git a/deno/rest/v8/channel.ts b/deno/rest/v8/channel.ts index 80c6a092..e3b24938 100644 --- a/deno/rest/v8/channel.ts +++ b/deno/rest/v8/channel.ts @@ -331,7 +331,7 @@ export interface RESTPatchAPIChannelMessageJSONBody { * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; /** * The components to include with the message * diff --git a/deno/rest/v8/webhook.ts b/deno/rest/v8/webhook.ts index 61016d50..e89c1ca8 100644 --- a/deno/rest/v8/webhook.ts +++ b/deno/rest/v8/webhook.ts @@ -234,7 +234,7 @@ export interface RESTPatchAPIWebhookWithTokenMessageJSONBody * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; } /** diff --git a/deno/rest/v9/channel.ts b/deno/rest/v9/channel.ts index a88bbdd6..cd193cb6 100644 --- a/deno/rest/v9/channel.ts +++ b/deno/rest/v9/channel.ts @@ -365,7 +365,7 @@ export interface RESTPatchAPIChannelMessageJSONBody { * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; /** * The components to include with the message * diff --git a/deno/rest/v9/webhook.ts b/deno/rest/v9/webhook.ts index 0b73eb9f..48960dcc 100644 --- a/deno/rest/v9/webhook.ts +++ b/deno/rest/v9/webhook.ts @@ -238,7 +238,7 @@ export interface RESTPatchAPIWebhookWithTokenMessageJSONBody * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; } /** diff --git a/rest/v8/channel.ts b/rest/v8/channel.ts index 1eba17a7..e402f4d1 100644 --- a/rest/v8/channel.ts +++ b/rest/v8/channel.ts @@ -331,7 +331,7 @@ export interface RESTPatchAPIChannelMessageJSONBody { * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; /** * The components to include with the message * diff --git a/rest/v8/webhook.ts b/rest/v8/webhook.ts index 5169f6e3..b2e99aeb 100644 --- a/rest/v8/webhook.ts +++ b/rest/v8/webhook.ts @@ -234,7 +234,7 @@ export interface RESTPatchAPIWebhookWithTokenMessageJSONBody * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; } /** diff --git a/rest/v9/channel.ts b/rest/v9/channel.ts index 744d172f..3fa2fa7e 100644 --- a/rest/v9/channel.ts +++ b/rest/v9/channel.ts @@ -365,7 +365,7 @@ export interface RESTPatchAPIChannelMessageJSONBody { * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; /** * The components to include with the message * diff --git a/rest/v9/webhook.ts b/rest/v9/webhook.ts index e63c48db..72b6c010 100644 --- a/rest/v9/webhook.ts +++ b/rest/v9/webhook.ts @@ -238,7 +238,7 @@ export interface RESTPatchAPIWebhookWithTokenMessageJSONBody * * See https://discord.com/developers/docs/resources/channel#attachment-object */ - attachments?: APIAttachment[] | null; + attachments?: (Pick & Partial>)[]; } /**