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

Method _construct

nonebot/internal/adapter/message.py:173–175  ·  view source on GitHub ↗

构造消息数组

(msg: str)

Source from the content-addressed store, hash-verified

171 @staticmethod
172 @abc.abstractmethod
173 def _construct(msg: str) -> Iterable[TMS]:
174 """构造消息数组"""
175 raise NotImplementedError
176
177 def __add__( # pyright: ignore[reportIncompatibleMethodOverride]
178 self, other: str | TMS | Iterable[TMS]

Callers 3

__init__Method · 0.95
__iadd__Method · 0.95
appendMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected