MCPcopy
hub / github.com/nonebot/nonebot2 / get_message_class

Method get_message_class

nonebot/internal/adapter/message.py:35–37  ·  view source on GitHub ↗

获取消息数组类型

(cls)

Source from the content-addressed store, hash-verified

33 @classmethod
34 @abc.abstractmethod
35 def get_message_class(cls) -> Type[TM]: # noqa: UP006
36 """获取消息数组类型"""
37 raise NotImplementedError
38
39 @abc.abstractmethod
40 def __str__(self) -> str:

Callers 3

__add__Method · 0.95
__radd__Method · 0.95
joinMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected