aiogram/CHANGES
Alex Root Junior c8dff11d1e
Update thumbnail type to InputFile only (#1374)
* Update thumbnail type to InputFile only

The thumbnail's type restriction has been changed in several methods and types. Previously, it accepted Union[InputFile, str], allowing both InputFile instances and strings. Now it's changed to accept only InputFile instances. This change enhances meaning of the thumbnail fields in due to Bot API accepts only InputFile instances.

* Added changelog

* Fixed typehints
2023-11-24 21:10:02 +02:00
..
.template.rst.jinja2 Update towncrier config 2021-08-03 23:50:10 +03:00
1280.feature.rst PoC Scenes (#1280) 2023-11-23 00:41:21 +02:00
1302.doc.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1320.misc.rst Fixed ResourceWarnings in tests (#1366) 2023-11-16 02:08:36 +02:00
1327.misc.rst Update dependencies (#1327) 2023-10-01 16:22:26 +03:00
1331.misc.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1332.bugfix.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1340.doc.rst Update base.rst (#1340) 2023-10-18 22:00:25 +03:00
1343.feature.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1347.misc.rst Update typing-extensions version range in dependencies (#1352) 2023-10-28 23:09:30 +03:00
1351.doc.rst Add CITATION.cff for automatic academic citation (#1351) 2023-10-27 00:48:47 +03:00
1353.doc.rst chore(docs): update middleware.rst (#1353) 2023-11-14 02:44:04 +02:00
1354.misc.rst Upgrade to py12 (#1354) 2023-11-18 21:24:19 +02:00
1357.misc.rst new improved CallableMixin (#1357) 2023-11-13 21:04:58 +02:00
1360.bugfix.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1361.misc.rst Small changes in the pending changelog 2023-11-17 00:27:30 +02:00
1368.bugfix.rst Fix CallbackData without default Optional (#1370) 2023-11-20 22:39:09 +02:00
1372.misc.rst Update thumbnail type to InputFile only (#1374) 2023-11-24 21:10:02 +02:00