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

Method get_join_qr

python/src/deltachat/chat.py:250–258  ·  view source on GitHub ↗

get/create Join-Group QR Code as ascii-string. this string needs to be transferred to another DC account in a second channel (typically used by mobiles with QRcode-show + scan UX) where account.join_with_qrcode(qr) needs to be called.

(self)

Source from the content-addressed store, hash-verified

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.
252
253 this string needs to be transferred to another DC account
254 in a second channel (typically used by mobiles with QRcode-show + scan UX)
255 where account.join_with_qrcode(qr) needs to be called.
256 """
257 res = lib.dc_get_securejoin_qr(self.account._dc_context, self.id)
258 return from_dc_charpointer(res)
259
260 # ------ chat messaging API ------------------------------
261

Calls 1

from_dc_charpointerFunction · 0.85