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

Method delete

python/src/deltachat/chat.py:49–57  ·  view source on GitHub ↗

Delete this chat and all its messages. Note: - does not delete messages on server - the chat or contact is not blocked, new message will arrive

(self)

Source from the content-addressed store, hash-verified

47 return ffi.gc(lib.dc_get_chat(self.account._dc_context, self.id), lib.dc_chat_unref)
48
49 def delete(self) -> None:
50 """Delete this chat and all its messages.
51
52 Note:
53
54 - does not delete messages on server
55 - the chat or contact is not blocked, new message will arrive
56 """
57 lib.dc_delete_chat(self.account._dc_context, self.id)
58
59 def block(self) -> None:
60 """Block this chat."""

Callers 3

init_imapMethod · 0.45
test_fetch_deleted_msgFunction · 0.45

Calls

no outgoing calls

Tested by 3

init_imapMethod · 0.36
test_fetch_deleted_msgFunction · 0.36