Function get_passport_authorization_form_available_elements

Source
pub async fn get_passport_authorization_form_available_elements(
    authorization_form_id: i32,
    password: String,
    client_id: i32,
) -> Result<PassportElementsWithErrors, Error>
Expand description

Returns already available Telegram Passport elements suitable for completing a Telegram Passport authorization form. Result can be received only once for each authorization form

ยงArguments

  • authorization_form_id - Authorization form identifier
  • password - The 2-step verification password of the current user
  • client_id - The client id to send the request to