📝 Update changelog

This commit is contained in:
noneflow[bot]
2024-04-18 10:30:35 +00:00
parent b0d554eacb
commit b497bb8c83
3 changed files with 11 additions and 10 deletions

View File

@ -123,6 +123,7 @@ class Markdown(Custom):
def markdown(seg: QQMessageSegment) -> Markdown:
return Markdown("markdown", content=seg.data["content"])
```
:::
## 通用消息序列
@ -449,7 +450,6 @@ async def send(
实际上,`UniMessage` 同时提供了获取消息事件 id 与消息发送对象的方法:
<Tabs groupId="get_unimsg">
<TabItem value="depend" label="使用依赖注入">
@ -513,6 +513,7 @@ class Target:
```
其构造时需要如下参数:
- `id` 为目标id若为群聊则为 group_id 或者 channel_id若为私聊则为user_id
- `parent_id` 为父级id若为频道则为 guild_id其他情况下可能为空字符串例如 Feishu 下可作为部门 id
- `channel` 为是否为频道,仅当目标平台符合频道概念时