From 907d88ada93221802a4aefe7dc0ca3b2b73f94f0 Mon Sep 17 00:00:00 2001 From: MateoDeveloper <79017590+Mateo-tem@users.noreply.github.com> Date: Sat, 16 Jul 2022 06:56:16 -0500 Subject: [PATCH] feat(RESTJSONErrorCodes): add error `50132` (#505) Co-authored-by: Vlad Frangu --- 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 3840d359a..38c3d3428 100644 --- a/deno/rest/common.ts +++ b/deno/rest/common.ts @@ -200,6 +200,8 @@ export enum RESTJSONErrorCodes { RequestBodyContainsInvalidJSON = 50109, + OwnershipCannotBeMovedToABotUser = 50132, + UploadedFileNotFound = 50146, YouDoNotHavePermissionToSendThisSticker = 50600, diff --git a/rest/common.ts b/rest/common.ts index 3840d359a..38c3d3428 100644 --- a/rest/common.ts +++ b/rest/common.ts @@ -200,6 +200,8 @@ export enum RESTJSONErrorCodes { RequestBodyContainsInvalidJSON = 50109, + OwnershipCannotBeMovedToABotUser = 50132, + UploadedFileNotFound = 50146, YouDoNotHavePermissionToSendThisSticker = 50600,