MCPcopy Create free account
hub / github.com/chatmail/core / is_bot

Method is_bot

python/src/deltachat/message.py:174–176  ·  view source on GitHub ↗

return True if this message is submitted automatically.

(self)

Source from the content-addressed store, hash-verified

172 return bool(lib.dc_msg_get_showpadlock(self._dc_msg))
173
174 def is_bot(self):
175 """return True if this message is submitted automatically."""
176 return bool(lib.dc_msg_is_bot(self._dc_msg))
177
178 def is_forwarded(self):
179 """return True if this message was forwarded."""

Callers 1

test_botFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_botFunction · 0.36