mirror of
				https://github.com/nonebot/nonebot2.git
				synced 2025-10-30 22:46:40 +00:00 
			
		
		
		
	📝 update api docs
This commit is contained in:
		| @@ -260,7 +260,7 @@ await bot.send_msg(message="hello world") | ||||
|  | ||||
| ## _class_ `MessageSegment` | ||||
|  | ||||
| 基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.T_Message`] | ||||
| 基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.TM`] | ||||
|  | ||||
| 消息段基类 | ||||
|  | ||||
| @@ -285,7 +285,7 @@ await bot.send_msg(message="hello world") | ||||
|  | ||||
| ## _class_ `Message` | ||||
|  | ||||
| 基类:`List`[`nonebot.adapters._base.T_MessageSegment`], `abc.ABC` | ||||
| 基类:`List`[`nonebot.adapters._base.TMS`], `abc.ABC` | ||||
|  | ||||
| 消息数组 | ||||
|  | ||||
|   | ||||
| @@ -208,7 +208,7 @@ sidebarDepth: 0 | ||||
|  | ||||
| ## _class_ `MessageSegment` | ||||
|  | ||||
| 基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.T_Message`] | ||||
| 基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.TM`] | ||||
|  | ||||
| 钉钉 协议 MessageSegment 适配。具体方法参考协议消息段类型或源码。 | ||||
|  | ||||
|   | ||||
| @@ -727,7 +727,7 @@ mirai-api-http 正向 Websocket 协议 Bot 适配。 | ||||
|  | ||||
| ## _class_ `MessageSegment` | ||||
|  | ||||
| 基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.T_Message`] | ||||
| 基类:`Mapping`, `abc.ABC`, `Generic`[`nonebot.adapters._base.TM`] | ||||
|  | ||||
| Mirai-API-HTTP 协议 MessageSegment 适配。具体方法参考 [mirai-api-http 消息类型](https://github.com/project-mirai/mirai-api-http/blob/master/docs/MessageType.md) | ||||
|  | ||||
|   | ||||
| @@ -82,3 +82,8 @@ Quart 使用的 logger | ||||
| ### `run(host=None, port=None, *, app=None, **kwargs)` | ||||
|  | ||||
| 使用 `uvicorn` 启动 Quart | ||||
|  | ||||
|  | ||||
| ## _class_ `WebSocket` | ||||
|  | ||||
| 基类:[`nonebot.drivers.WebSocket`](README.md#nonebot.drivers.WebSocket) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user