Function tdlib_rs::functions::get_passport_authorization_form
source · pub async fn get_passport_authorization_form(
bot_user_id: i64,
scope: String,
public_key: String,
nonce: String,
client_id: i32
) -> Result<PassportAuthorizationForm, Error>
Expand description
Returns a Telegram Passport authorization form for sharing data with a service
§Arguments
bot_user_id
- User identifier of the service’s botscope
- Telegram Passport element types requested by the servicepublic_key
- Service’s public keynonce
- Unique request identifier provided by the serviceclient_id
- The client id to send the request to