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

Method is_file

python/src/deltachat/message.py:419–421  ·  view source on GitHub ↗

return True if it's a file message.

(self)

Source from the content-addressed store, hash-verified

417 return self._view_type == const.DC_MSG_WEBXDC
418
419 def is_file(self):
420 """return True if it's a file message."""
421 return self._view_type == const.DC_MSG_FILE
422
423 def mark_seen(self):
424 """mark this message as seen."""

Callers 9

test_message_fileMethod · 0.80
misc_get_stickersMethod · 0.80
delete_fileFunction · 0.80
newMethod · 0.80
import_self_keysFunction · 0.80

Calls

no outgoing calls

Tested by 3

test_message_fileMethod · 0.64