From 09c71fe9d19006d0b287be35456c25809e9afc1a Mon Sep 17 00:00:00 2001 From: Almeida Date: Tue, 14 Apr 2026 23:28:24 +0100 Subject: [PATCH] feat(RESTJSONErrorCodes): add `CannotForwardMessageWithUnreadableContent` (#1628) --- deno/rest/common.ts | 2 ++ rest/common.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 30c8cdf4..0967c0e2 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -301,6 +301,8 @@ export enum RESTJSONErrorCodes { MaximumActiveThreads, MaximumActiveAnnouncementThreads, + CannotForwardMessageWithUnreadableContent = 160_014, + InvalidJSONForUploadedLottieFile = 170_001, UploadedLottiesCannotContainRasterizedImages, StickerMaximumFramerateExceeded, diff --git a/rest/common.ts b/rest/common.ts index 30c8cdf4..0967c0e2 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -301,6 +301,8 @@ export enum RESTJSONErrorCodes { MaximumActiveThreads, MaximumActiveAnnouncementThreads, + CannotForwardMessageWithUnreadableContent = 160_014, + InvalidJSONForUploadedLottieFile = 170_001, UploadedLottiesCannotContainRasterizedImages, StickerMaximumFramerateExceeded,