enhanced file api

This commit is contained in:
白池 2024-02-25 17:33:19 +08:00 committed by GitHub
parent 23dfb4d5d6
commit 0d08dfbac7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,9 +24,13 @@ icon: file
| 字段 | 类型 | 说明 |
| ------- | ------ | ------------ |
| user_id | int64 | 目标 |
| file | string | 本地文件路径 |
| file | string | `本地文件路径` 或 `文件base64``文件url` |
| name | string | 文件名称 |
::: warning 注意
本地文件路径为绝对路径文件base64为`base64://`开头文件url则应该是正确的http请求地址。
:::
### 响应
::: tabs
@ -77,9 +81,13 @@ icon: file
| 字段 | 类型 | 说明 |
| -------- | ------ | ------------ |
| group_id | int64 | 群号 |
| file | string | 本地文件路径 |
| file | string | `本地文件路径` 或 `文件base64``文件url` |
| name | string | 文件名称 |
::: warning 注意
本地文件路径为绝对路径文件base64为`base64://`开头文件url则应该是正确的http请求地址。
:::
### 响应
::: tabs