📝 update doc

This commit is contained in:
yanyongyu
2021-04-01 20:27:27 +08:00
parent f0a6ff4627
commit e03e3f6130
50 changed files with 123 additions and 5 deletions

View File

@ -78,6 +78,38 @@ sidebarDepth: 0
## `T_CallingAPIHook`
* **类型**
`Callable[[Bot, str, Dict[str, Any]], Awaitable[None]]`
* **说明**
`bot.call_api` 时执行的函数
## `T_CalledAPIHook`
* **类型**
`Callable[[Bot, Optional[Exception], str, Dict[str, Any], Any], Awaitable[None]]`
* **说明**
`bot.call_api` 后执行的函数,参数分别为 bot, exception, api, data, result
## `T_EventPreProcessor`