Skip to content

Commit 41f05e8

Browse files
authored
docs: update configuration
1 parent 0ca402b commit 41f05e8

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

packages/docs/content/yogurt/configuration.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Yogurt 在启动后,会在当前工作目录下生成 `config.json` 文件,
1515
"corsOrigins": []
1616
},
1717
"webhookConfig": {
18-
"url": []
18+
"url": [],
19+
"accessToken": ""
1920
},
2021
"logging": {
2122
"coreLogLevel": "DEBUG"
@@ -40,6 +41,10 @@ Yogurt 在启动后,会在当前工作目录下生成 `config.json` 文件,
4041

4142
### `transformIncomingMFaceToImage`
4243

44+
> [!note]
45+
>
46+
> 这一配置项为兼容 Milky 1.0 而保留。在 Milky 1.1+ 版本中,市场表情(`market_face`)消息段已包含完整的元信息。
47+
4348
是否将接收的市场表情消息段转换成普通的图片消息段。如果为 `true`,则转换的具体格式如下:
4449

4550
```json

0 commit comments

Comments
 (0)