📝 Docs: 更新到 nonepress 3.8.0 (#4126)

This commit is contained in:
StarHeart
2026-08-01 16:57:44 +08:00
committed by GitHub
parent b38b1e5261
commit 1b88a6e77d
198 changed files with 2042 additions and 1641 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ import Messenger from "@/components/Messenger";
在之前的章节中,我们介绍了如何向用户发送文本消息以及[如何处理平台消息](../tutorial/message.md),现在我们来向用户发送平台特殊消息。
:::caution 注意
:::warning[注意]
在以下的示例中,我们将使用 `Console` 协议适配器来演示如何发送平台消息。在实际使用中,你需要确保你使用的**消息序列类型**与你所要发送的**平台类型**一致。
:::
@@ -103,7 +103,7 @@ result = await bot.get_user_info(user_id=12345678)
result = await bot.call_api("get_user_info", user_id=12345678)
```
:::caution 注意
:::warning[注意]
实际可以使用的 API 以及参数取决于平台提供的接口以及协议适配器的实现,请参考协议适配器以及平台文档。
:::