Closed daskol closed 11 months ago
According to Telegram Bot API a photo should comply some requirements.
We should inform user if this requirements were violated.
future: <Task finished name='Task-27213' coro=<Dispatcher._process_polling_updates() done, defined at /usr/lib/python3.11/site-packages/aiogram/dispatcher/dispatcher.py:407> exception=PhotoDimensions('Photo_invalid_dimensions')> Traceback (most recent call last): ... File "/usr/lib/python3.11/site-packages/aiogram/utils/exceptions.py", line 140, in detect raise err(cls.text or description) aiogram.utils.exceptions.PhotoDimensions: Photo_invalid_dimensions
According to Telegram Bot API a photo should comply some requirements.
We should inform user if this requirements were violated.