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 identifierpassword
- The 2-step verification password of the current userclient_id
- The client id to send the request to