InputIdentityDocument constructor

const InputIdentityDocument({
  1. required String number,
  2. Date? expiryDate,
  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.expiryDate,
  required this.frontSide,
  this.reverseSide,
  this.selfie,
  required this.translation,
});