upload_private_file
Send a local file attachment to a specific QQ friend by providing their user ID, the file path, and the desired display name.
Instructions
向指定好友发送本地文件附件 (NapCat OneBot 11: upload_private_file)。 :param user_id: 接收方好友 QQ 号 :param file_path: 本地文件的绝对路径 (如 'D:/Desktop/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 | 本地文件的绝对路径 (如 'D:/Desktop/report.xlsx') |