upload_private_file
Send a local file as an attachment to a specific QQ friend, specifying the absolute file path and the display filename the recipient will see.
Instructions
向指定好友发送本地文件附件 (NapCat OneBot 11: upload_private_file)。
:param user_id: 接收方好友 QQ 号
:param file_path: 本地文件的绝对路径(例如 /path/to/report.xlsx)
:param file_name: 对方看到的显示文件名 (如 'report.xlsx')
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | 接收方好友 QQ 号 | |
| file_name | Yes | 对方看到的显示文件名 (如 'report.xlsx') | |
| file_path | Yes | 本地文件的绝对路径(例如 `/path/to/report.xlsx`) |