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

Method set_text

python/src/deltachat/message.py:87–89  ·  view source on GitHub ↗

set text of this message.

(self, text)

Source from the content-addressed store, hash-verified

85 return from_dc_charpointer(lib.dc_msg_get_text(self._dc_msg))
86
87 def set_text(self, text):
88 """set text of this message."""
89 lib.dc_msg_set_text(self._dc_msg, as_dc_charpointer(text))
90
91 @props.with_doc
92 def html(self) -> str:

Callers 9

test_set_get_draftMethod · 0.45
send_and_receive_messageFunction · 0.45
test_html_messageFunction · 0.45
test_webxdc_messageFunction · 0.45
test_webxdc_huge_updateFunction · 0.45
test_reply_privatelyFunction · 0.45
test_quote_attachmentFunction · 0.45
test_group_quoteFunction · 0.45

Calls 1

as_dc_charpointerFunction · 0.85

Tested by 9

test_set_get_draftMethod · 0.36
send_and_receive_messageFunction · 0.36
test_html_messageFunction · 0.36
test_webxdc_messageFunction · 0.36
test_webxdc_huge_updateFunction · 0.36
test_reply_privatelyFunction · 0.36
test_quote_attachmentFunction · 0.36
test_group_quoteFunction · 0.36