From 5b6f0d43a4e4886a924af840b388c3f482b79f5e Mon Sep 17 00:00:00 2001 From: Almeida Date: Wed, 9 Apr 2025 19:59:06 +0100 Subject: [PATCH] feat(APIBaseInteraction): add `attachment_size_limit` (#1214) --- deno/payloads/v10/_interactions/base.ts | 4 ++++ deno/payloads/v9/_interactions/base.ts | 4 ++++ payloads/v10/_interactions/base.ts | 4 ++++ payloads/v9/_interactions/base.ts | 4 ++++ 4 files changed, 16 insertions(+) diff --git a/deno/payloads/v10/_interactions/base.ts b/deno/payloads/v10/_interactions/base.ts index 6aca2732..065be530 100644 --- a/deno/payloads/v10/_interactions/base.ts +++ b/deno/payloads/v10/_interactions/base.ts @@ -215,6 +215,10 @@ export interface APIBaseInteraction { * Context where the interaction was triggered from */ context?: InteractionContextType; + /** + * Attachment size limit in bytes + */ + attachment_size_limit: number; } export type APIAuthorizingIntegrationOwnersMap = { diff --git a/deno/payloads/v9/_interactions/base.ts b/deno/payloads/v9/_interactions/base.ts index 87864cca..6f0a5826 100644 --- a/deno/payloads/v9/_interactions/base.ts +++ b/deno/payloads/v9/_interactions/base.ts @@ -218,6 +218,10 @@ export interface APIBaseInteraction { * Context where the interaction was triggered from */ context?: InteractionContextType; + /** + * Attachment size limit in bytes + */ + attachment_size_limit: number; } export type APIAuthorizingIntegrationOwnersMap = { diff --git a/payloads/v10/_interactions/base.ts b/payloads/v10/_interactions/base.ts index 68880564..4574e3de 100644 --- a/payloads/v10/_interactions/base.ts +++ b/payloads/v10/_interactions/base.ts @@ -215,6 +215,10 @@ export interface APIBaseInteraction { * Context where the interaction was triggered from */ context?: InteractionContextType; + /** + * Attachment size limit in bytes + */ + attachment_size_limit: number; } export type APIAuthorizingIntegrationOwnersMap = { diff --git a/payloads/v9/_interactions/base.ts b/payloads/v9/_interactions/base.ts index 82ad7c41..7a73aaed 100644 --- a/payloads/v9/_interactions/base.ts +++ b/payloads/v9/_interactions/base.ts @@ -218,6 +218,10 @@ export interface APIBaseInteraction { * Context where the interaction was triggered from */ context?: InteractionContextType; + /** + * Attachment size limit in bytes + */ + attachment_size_limit: number; } export type APIAuthorizingIntegrationOwnersMap = {