Fix click timeout error is now different

This commit is contained in:
Lonami Exo
2020-07-04 12:30:15 +02:00
parent ab594ed0cb
commit 7b852206f1
4 changed files with 6 additions and 5 deletions

View File

@@ -844,7 +844,7 @@ class Message(ChatGetter, SenderGetter, TLObject, abc.ABC):
data=data
)
)
except errors.BotTimeout:
except errors.BotResponseTimeoutError:
return None
if sum(int(x is not None) for x in (i, text, filter)) >= 2: