Function set_passport_element_errors

Source
pub async fn set_passport_element_errors(
    user_id: i64,
    errors: Vec<InputPassportElementError>,
    client_id: i32,
) -> Result<(), Error>
Expand description

Informs the user that some of the elements in their Telegram Passport contain errors; for bots only. The user will not be able to resend the elements, until the errors are fixed

ยงArguments

  • user_id - User identifier
  • errors - The errors
  • client_id - The client id to send the request to