Skip to content

setPassportElementErrors

Function · TDLib 1.8.67 · d1085f9c

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

setPassportElementErrors(
  user_id: int53,
  errors: list of InputPassportElementError
) → Ok

user_id

int53

User identifier

errors

list of InputPassportElementError

The errors