đ§ download_file
âī¸ Parameters
file_id(str)file_path(str) (optional)in_memory(bool) (optional)
đ˛ Returns
Path or BytesIO
đ Examples
-đĒĢ Required Parameters
await bot.download_file(
file_id=your_file_id_here
)
-đ All Parameters
await bot.download_file(
file_id=your_file_id_here,
file_path=your_file_path_here,
in_memory=your_in_memory_here
)