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

Method is_image

python/src/deltachat/message.py:395–397  ·  view source on GitHub ↗

return True if it's an image message.

(self)

Source from the content-addressed store, hash-verified

393 return self._view_type == const.DC_MSG_TEXT
394
395 def is_image(self):
396 """return True if it's an image message."""
397 return self._view_type == const.DC_MSG_IMAGE
398
399 def is_gif(self):
400 """return True if it's a gif message."""

Callers 3

test_message_imageMethod · 0.80

Calls

no outgoing calls

Tested by 3

test_message_imageMethod · 0.64