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)
| 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 |