From 0086f5016f1255a8d311ed5c6adfaf8f5c4fcf7e Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 19 Jul 2025 10:58:03 +0300 Subject: Skip updates without expected keys --- telepot/exception.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'telepot/exception.py') diff --git a/telepot/exception.py b/telepot/exception.py index 820a522..04104c3 100644 --- a/telepot/exception.py +++ b/telepot/exception.py @@ -62,6 +62,9 @@ class IdleTerminate(WaitTooLong): class StopListening(TelepotException): pass +class UpdateKeyError(TelepotException): + pass + class TelegramError(TelepotException): """ To indicate erroneous situations, Telegram returns a JSON object containing -- cgit v1.3