📝 update api docs

This commit is contained in:
nonebot
2021-09-16 12:30:31 +00:00
parent 855f61d837
commit b97133fb59
3 changed files with 283 additions and 0 deletions

View File

@ -533,3 +533,19 @@ Event 基类。提供获取关键信息的方法,其余信息可直接获取
* `bool`
## _class_ `MessageTemplate`
基类:`string.Formatter`, `Generic`[`nonebot.adapters._template.TM`]
消息模板格式化实现类
### `format(*args, **kwargs)`
* **说明**
根据模板和参数生成消息对象