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

Method nested

tests/utils.py:46–47  ·  view source on GitHub ↗
(content: "FakeMessage")

Source from the content-addressed store, hash-verified

44
45 @staticmethod
46 def nested(content: "FakeMessage"):
47 return FakeMessageSegment("node", {"content": content})
48
49 @override
50 def is_text(self) -> bool:

Callers 1

test_dataclass_encoderFunction · 0.80

Calls 1

FakeMessageSegmentClass · 0.85

Tested by 1

test_dataclass_encoderFunction · 0.64