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

Method is_text

nonebot/internal/adapter/message.py:95–97  ·  view source on GitHub ↗

当前消息段是否为纯文本

(self)

Source from the content-addressed store, hash-verified

93
94 @abc.abstractmethod
95 def is_text(self) -> bool:
96 """当前消息段是否为纯文本"""
97 raise NotImplementedError
98
99
100@custom_validation

Callers 5

get_valueMethod · 0.45
__call__Method · 0.45
extract_plain_textMethod · 0.45
_formatMethod · 0.45
handle_echoFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected