diff --git a/deno/rest/common.ts b/deno/rest/common.ts index 9e613a04..fd0512f7 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -130,6 +130,10 @@ export enum RESTJSONErrorCodes { MaximumActiveAnnouncementThreads, InvalidJSONForUploadedLottieFile = 170001, - - LottieAnimationMaximumDimensionsExceeded = 170005, + UploadedLottiesCannotContainRasterizedImages, + StickerMaximumFramerateExceeded, + StickerFrameCountExceedsMaximumOf1000Frames, + LottieAnimationMaximumDimensionsExceeded, + StickerFramerateIsTooSmallOrTooLarge, + StickerAnimationDurationExceedsMaximumOf5Seconds, } diff --git a/rest/common.ts b/rest/common.ts index 8d3f5dce..12cfc5fc 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -130,6 +130,10 @@ export const enum RESTJSONErrorCodes { MaximumActiveAnnouncementThreads, InvalidJSONForUploadedLottieFile = 170001, - - LottieAnimationMaximumDimensionsExceeded = 170005, + UploadedLottiesCannotContainRasterizedImages, + StickerMaximumFramerateExceeded, + StickerFrameCountExceedsMaximumOf1000Frames, + LottieAnimationMaximumDimensionsExceeded, + StickerFramerateIsTooSmallOrTooLarge, + StickerAnimationDurationExceedsMaximumOf5Seconds, }