SetPassportElementErrors constructor

const SetPassportElementErrors({
  1. required int userId,
  2. required List<InputPassportElementError> errors,
})

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

Implementation

const SetPassportElementErrors({
  required this.userId,
  required this.errors,
});