mirror of
https://github.com/TheCaduceus/FileStreamBot.git
synced 2026-01-15 16:33:25 -03:00
Bump to v1.3
This commit is contained in:
@@ -54,7 +54,7 @@ async def transmit_file(file_id):
|
||||
|
||||
async def file_streamer():
|
||||
current_part = 1
|
||||
async for chunk in TelegramBot.stream_media(file, offset = floor(from_bytes // chunk_size)):
|
||||
async for chunk in TelegramBot.stream_media(file, offset = from_bytes // chunk_size):
|
||||
|
||||
if not chunk:
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user