send_file
Downloads a file from a given URL and sends it to a specified QQ group or private chat. Supports any file type.
Instructions
下载 URL 文件并发送到群或私聊。
从 URL 下载文件然后上传到 QQ。支持任意文件类型。
Args: target: 群号或 QQ 号。 file_url: 文件的直接下载 URL。 file_name: 文件名(可选,默认从 URL 提取)。 target_type: "group"(默认)或 "private"。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | ||
| file_url | Yes | ||
| file_name | No | ||
| target_type | No | group |