download_chat_media
Batch download recent media files (photos, videos, documents, etc.) from a Telegram chat, filtering by type, size, and count.
Instructions
批量下载一个对话里最近的媒体文件。
Args: chat: 对话。 media_type: photo / video / document / voice / gif / music / any。 limit: 最多下载几个(1~50)。 save_dir: 保存目录,留空用默认下载目录。 max_size_mb: 跳过大于这个体积的文件。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chat | Yes | ||
| limit | No | ||
| save_dir | No | ||
| media_type | No | photo | |
| max_size_mb | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||