Function join_securejoin_with_ux_info

Source
pub async fn join_securejoin_with_ux_info(
    context: &Context,
    qr: &str,
    source: Option<SecurejoinSource>,
    uipath: Option<SecurejoinUiPath>,
) -> Result<ChatId>
Expand description

Take a scanned QR-code and do the setup-contact/join-group/invite handshake.

This is the start of the process for the joiner. See the module and ffi documentation for more details.

The function returns immediately and the handshake will run in background.

source and uipath are for statistics-sending, if the user enabled it in the settings; if you don’t have statistics-sending implemented, just pass None here.