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 bot
  • scope - Telegram Passport element types requested by the service
  • public_key - Service’s public key
  • nonce - Unique request identifier provided by the service
  • client_id - The client id to send the request to