📝 update api docs

This commit is contained in:
nonebot
2020-12-28 05:57:28 +00:00
parent 299c259d50
commit 0c43d83494
2 changed files with 104 additions and 0 deletions

View File

@ -46,6 +46,38 @@ sidebarDepth: 0
## `T_WebSocketConnectionHook`
* **类型**
`Callable[[Bot], Awaitable[None]]`
* **说明**
WebSocket 连接建立时执行的函数
## `T_WebSocketDisconnectionHook`
* **类型**
`Callable[[Bot], Awaitable[None]]`
* **说明**
WebSocket 连接断开时执行的函数
## `T_EventPreProcessor`