diff --git a/src/aiogram_dialog/manager/message_manager.py b/src/aiogram_dialog/manager/message_manager.py index 067054eb..4d2946cf 100644 --- a/src/aiogram_dialog/manager/message_manager.py +++ b/src/aiogram_dialog/manager/message_manager.py @@ -69,7 +69,7 @@ async def get_media_source( return media.file_id.file_id if media.url: if media.use_pipe: - return URLInputFile(media.url, bot) + return URLInputFile(media.url, bot=bot) return media.url else: return FSInputFile(media.path)