Skip to content
This repository has been archived by the owner on Aug 12, 2024. It is now read-only.

Commit

Permalink
Update media.md
Browse files Browse the repository at this point in the history
support `original`
  • Loading branch information
whitechi73 committed Jan 29, 2024
1 parent c488d82 commit 3a55929
Showing 1 changed file with 21 additions and 4 deletions.
25 changes: 21 additions & 4 deletions docs/message/media.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ icon: compact-disc

### 参数

| 字段 | 类型 ||| 必填 | 说明 |
| ---- | ------ | --- | --- | ---- | ------------ |
| file | string |||| 图片文件地址 |
| url | string |||| 图片链接地址 |
| 字段 | 类型 ||| 必填 | 说明 |
| ---- | ------ | --- |---| ---- |-------------------------------------|
| file | string |||| 图片文件地址 |
| url | string |||| 图片链接地址 |
| type | string || x || 图片类型, 分为`show`, `flash`, `original` |
| subType | int32 || x || 图片子类型 |

::: tabs

Expand All @@ -42,6 +44,21 @@ icon: compact-disc

:::

### 图片子类型

| value | 说明 |
| ----- | ---- |
| 0 | 正常图片 |
| 1 | 表情包, 在客户端会被分类到表情包图片并缩放显示 |
| 2 | 热图 |
| 3 | 斗图 |
| 4 | 智图? |
| 7 | 贴图 |
| 8 | 自拍 |
| 9 | 贴图广告? |
| 10 | 有待测试 |
| 13 | 热搜图 |

## 语音

### 参数
Expand Down

0 comments on commit 3a55929

Please sign in to comment.