📝 replace deprecated caution/important admonitions

This commit is contained in:
StarHeartHunt
2026-07-22 22:21:49 +08:00
parent c42629ba7f
commit 641e95b73c
83 changed files with 147 additions and 147 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 以及参数取决于平台提供的接口以及协议适配器的实现,请参考协议适配器以及平台文档。
:::