mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 16:21:28 +00:00
⬆️ Update to cqhttp v11
This commit is contained in:
@ -179,7 +179,7 @@ class BaseEvent(abc.ABC):
|
||||
@dataclass
|
||||
class BaseMessageSegment(abc.ABC):
|
||||
type: str
|
||||
data: Dict[str, str] = field(default_factory=lambda: {})
|
||||
data: Dict[str, Union[str, list]] = field(default_factory=lambda: {})
|
||||
|
||||
@abc.abstractmethod
|
||||
def __str__(self):
|
||||
|
Reference in New Issue
Block a user