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

Method set_html

python/src/deltachat/message.py:100–105  ·  view source on GitHub ↗

set the html part of this message. It is possible to have text and html part at the same time.

(self, html_text)

Source from the content-addressed store, hash-verified

98 return lib.dc_msg_has_html(self._dc_msg)
99
100 def set_html(self, html_text):
101 """set the html part of this message.
102
103 It is possible to have text and html part at the same time.
104 """
105 lib.dc_msg_set_html(self._dc_msg, as_dc_charpointer(html_text))
106
107 @props.with_doc
108 def filename(self):

Callers 1

test_html_messageFunction · 0.45

Calls 1

as_dc_charpointerFunction · 0.85

Tested by 1

test_html_messageFunction · 0.36