diff --git a/aiogram/types/input_file.py b/aiogram/types/input_file.py index aaf0bf86..9d42c6b7 100644 --- a/aiogram/types/input_file.py +++ b/aiogram/types/input_file.py @@ -139,7 +139,7 @@ class InputFile(base.TelegramObject): self.file.seek(0) @classmethod - async def _process_stream(cls, response, writer, chunk_size=65536): + async def _process_stream(cls, response, writer, chunk_size=CHUNK_SIZE): """ Transfer data