understanding commited on
Commit
3e34b29
·
verified ·
1 Parent(s): 969faca

Update bot/telegram/media.py

Browse files
Files changed (1) hide show
  1. bot/telegram/media.py +0 -4
bot/telegram/media.py CHANGED
@@ -5,10 +5,6 @@ from hydrogram.types import Message
5
  from bot.temp.files import make_temp_file_path
6
 
7
  async def download_to_temp(app: Client, m: Message) -> tuple[str, int, str]:
8
- """
9
- Returns: (file_path, file_size, file_name)
10
- NOTE: Always returns exactly 3 values.
11
- """
12
  media = m.video or m.document
13
  if not media:
14
  raise RuntimeError("No media to download")
 
5
  from bot.temp.files import make_temp_file_path
6
 
7
  async def download_to_temp(app: Client, m: Message) -> tuple[str, int, str]:
 
 
 
 
8
  media = m.video or m.document
9
  if not media:
10
  raise RuntimeError("No media to download")