diff --git a/tests/test_official/exceptions.py b/tests/test_official/exceptions.py index fab6bf2861c..a6eb90dbd7e 100644 --- a/tests/test_official/exceptions.py +++ b/tests/test_official/exceptions.py @@ -96,6 +96,8 @@ class ParamTypeCheckingExceptions: }, "Input(Paid)?Media.*": { "media": str, # actual: Union[str, InputMedia*, FileInput] + # see also https://github.com/tdlib/telegram-bot-api/issues/707 + "thumbnail": str, # actual: Union[str, FileInput] }, "EncryptedPassportElement": { "data": str, # actual: Union[IdDocumentData, PersonalDetails, ResidentialAddress]