删除类型

This commit is contained in:
hemengyang
2022-01-12 18:00:56 +08:00
parent e29db806cc
commit 705a6f7fbf
13 changed files with 48 additions and 195 deletions

View File

@ -26,13 +26,11 @@ class MessageSegment(Mapping, abc.ABC, Generic[TM]):
type: str
"""
- 类型: ``str``
- 说明: 消息段类型
- 说明: 消息段类型
"""
data: Dict[str, Any] = field(default_factory=lambda: {})
"""
- 类型: ``Dict[str, Union[str, list]]``
- 说明: 消息段数据
- 说明: 消息段数据
"""
@classmethod