From d7d8d419c9602e3f54f7f2b758eb34e7d55d4020 Mon Sep 17 00:00:00 2001 From: Suvorov Daniil Date: Thu, 23 Dec 2021 19:50:16 +0300 Subject: [PATCH] feat: add ErrMessagesPinExpiringMessage --- api/errors.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/api/errors.go b/api/errors.go index 03032aa6..4518696b 100644 --- a/api/errors.go +++ b/api/errors.go @@ -598,6 +598,9 @@ const ( // This user can't be added to the work chat, as they aren't an employe. ErrMessagesAccessWorkChat ErrorType = 967 + // Cannot pin an expiring message. + ErrMessagesPinExpiringMessage ErrorType = 970 + // Invalid phone number. ErrParamPhone ErrorType = 1000