mirror of
https://github.com/aiogram/aiogram.git
synced 2026-04-08 16:37:47 +00:00
Refactored various InputMedia types to support Union[InputFile, str] for media properties, enhancing flexibility and unifying input data types. - Modified media_group.py for AUDIO, PHOTO, VIDEO, and DOCUMENT. - Updated input_media_document.py and input_media_audio.py to use Union[InputFile, str]. - Adjusted bot.py to utilize DateTime for close_date. - Refactored aiohttp session for better file handle and serialization. - Enhanced set_chat_photo.py to accept Union[InputFile, str]. - Re-organized input_file.py with modern BaseModel features. - Added new client/form module for splitting file extraction logic. - Adapted test cases to validate the new structure and behavior. |
||
|---|---|---|
| .. | ||
| test_client | ||
| test_methods | ||
| test_types | ||
| __init__.py | ||