M
Size: a a a
M
R
M
️️
️️
D
<Ч
await message.video.download(path)
<Ч
D
await message.video.download(path)
<Ч
<Ч
T
ЕР
zip_buffer = io.BytesIO()
zip_file = zipfile.ZipFile(zip_buffer, 'a', zipfile.ZIP_DEFLATED, False)
for file in files:
file_binary = await query.bot.download_file_by_id(file_id=file['file_id'])
zip_file.writestr(file['file_name'], file_binary.getvalue())
q
D
q
AR
zip_buffer = io.BytesIO()
zip_file = zipfile.ZipFile(zip_buffer, 'a', zipfile.ZIP_DEFLATED, False)
for file in files:
file_binary = await query.bot.download_file_by_id(file_id=file['file_id'])
zip_file.writestr(file['file_name'], file_binary.getvalue())
ЕР