Function request_qr_code_authentication

Source
pub async fn request_qr_code_authentication(
    other_user_ids: Vec<i64>,
    client_id: i32,
) -> Result<(), Error>
Expand description

Requests QR code authentication by scanning a QR code on another logged in device. Works only when the current authorization state is authorizationStateWaitPhoneNumber, or if there is no pending authentication query and the current authorization state is authorizationStateWaitEmailAddress, authorizationStateWaitEmailCode, authorizationStateWaitCode, authorizationStateWaitRegistration, or authorizationStateWaitPassword

ยงArguments

  • other_user_ids - List of user identifiers of other users currently using the application
  • client_id - The client id to send the request to