You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of version 4.18.0, this commit has been added, which causes the error: ERROR - TeleBot: ‘’NoneType‘ object has no attribute ’replace'”
if the property value is of type NoneType. Version 4.17.0 works without errors.
The text was updated successfully, but these errors were encountered:
I'm well aware that the sticker doesn't have text in this property. But the library should not crash with an error when trying to access this property.
Please answer these questions before submitting your issue. Thanks!
4.21.0
linux
3.8.18
How to reproduce. Run this code:
Send any sticker in private chat with the bot.
As of version 4.18.0, this commit has been added, which causes the error:
ERROR - TeleBot: ‘’NoneType‘ object has no attribute ’replace'”
if the property value is of type NoneType. Version 4.17.0 works without errors.
The text was updated successfully, but these errors were encountered: