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

Method get_encryption_info

python/src/deltachat/chat.py:242–248  ·  view source on GitHub ↗

Return encryption info for this chat. :returns: a string with encryption preferences of all chat members

(self)

Source from the content-addressed store, hash-verified

240 return lib.dc_chat_get_type(self._dc_chat)
241
242 def get_encryption_info(self) -> Optional[str]:
243 """Return encryption info for this chat.
244
245 :returns: a string with encryption preferences of all chat members
246 """
247 res = lib.dc_get_chat_encrinfo(self.account._dc_context, self.id)
248 return from_dc_charpointer(res)
249
250 def get_join_qr(self) -> Optional[str]:
251 """get/create Join-Group QR Code as ascii-string.

Callers

nothing calls this directly

Calls 1

from_dc_charpointerFunction · 0.85

Tested by

no test coverage detected