InputIdentityDocument constructor

const InputIdentityDocument({
  1. required String number,
  2. Date? expirationDate,
  3. required InputFile frontSide,
  4. InputFile? reverseSide,
  5. InputFile? selfie,
  6. required List<InputFile> translation,
})

An identity document to be saved to Telegram Passport

Implementation

const InputIdentityDocument({
  required this.number,
  this.expirationDate,
  required this.frontSide,
  this.reverseSide,
  this.selfie,
  required this.translation,
});