diff --git a/VkNet/Utils/VkErrorCode.cs b/VkNet/Utils/VkErrorCode.cs index d6865b428..2559d2e6e 100644 --- a/VkNet/Utils/VkErrorCode.cs +++ b/VkNet/Utils/VkErrorCode.cs @@ -436,6 +436,16 @@ public static class VkErrorCode /// public const int CannotSendDuePrivacy = 902; + /// + /// Формат клавиатуры недействителен. + /// + public const int KeyboardFormatIsInvalid = 911; + + /// + /// Это функция чат-бота, измените этот статус в настройках. + /// + public const int ThisIsAChatBotFeatureChangeThisStatusInSettings = 912; + /// /// Слишком много пересланных сообщений. /// @@ -450,6 +460,16 @@ public static class VkErrorCode /// Нет доступа к беседе /// public const int ConversationAccessDenied = 917; + + /// + /// Нельзя переслать эти сообщения. + /// + public const int CannotForwardMessages = 921; + + /// + /// Вы покинули этот чат. + /// + public const int YouLeftThisChat = 922; /// /// Вы не администратор в данном чате @@ -461,13 +481,108 @@ public static class VkErrorCode /// public const int UserNotFoundInChat = 935; + /// + /// Контакт не найден + /// + public const int ContactNotFound = 936; + + /// + /// Слишком много постов в сообщениях + /// + public const int TooManyPostsInMessages = 940; + + /// + /// Не удается использовать этот intent + /// + public const int CannotUseThisIntent = 943; + + /// + /// Превышение лимитов для этого intent + /// + public const int LimitsOverflowForThisIntent = 944; + /// /// Чат был отключен /// public const int ChatWasDisabled = 945; + /// + /// Чат не поддерживается + /// + public const int ChatNotSupported = 946; + + /// + /// Не удается отправить сообщение, время ответа истекло + /// + public const int CannotSendMessageReplyTimedOut = 950; + + /// + /// Вы не можете получить доступ к донат чату без подписки + /// + public const int YouСanеAccessDonutChatWithoutSubscription = 962; + + /// + /// Сообщение не может быть переслано + /// + public const int MessageCannotBeForwarded = 969; + + /// + /// Действие приложения ограничено для бесед с сообществами + /// + public const int AppActionIsRestrictedForConversationsWithCommunities = 979; + + /// + /// Вам запрещено писать в чат + /// + public const int YouAreRestrictedToWriteToAChat = 983; + + /// + /// У вас есть ограничение на отправку из-за спама + /// + public const int YouHasSpamRestriction = 984; + + /// + /// Невозможно писать в группы только с уведомлениями + /// + public const int CannotWriteToNotificationsOnlyGroups = 985; + + /// + /// Требуется роль edu + /// + public const int NeedEduRole = 986; + + /// + /// Требуется запрос сообщения + /// + public const int NeedMessageRequest = 987; + + /// + /// Запрос сообщения ожидает подтверждения + /// + public const int PendingMessageRequest = 988; + + /// + /// Отложенные сообщения для этого peer не поддерживаются + /// + public const int DelayedMessagesForThisPeerNotSupported = 991; + + /// + /// Достигнут лимит отложенных сообщений для этого peerId + /// + public const int DelayedMessagesLimitForThisPeerIdReached = 992; + + /// + /// Написание сообщений в этом чате отключено + /// + public const int WritingIsDisabledForThisChat = 1012; + + /// + /// Неверный тип аккаунта — не должен быть edu + /// + public const int InvalidAccountTypeShouldNotBeEdu = 1016; + /// /// Неверный файл /// public const int InvalidFile = 4611; -} \ No newline at end of file +}