EncryptedPassportElement constructor

const EncryptedPassportElement({
  1. required PassportElementType type,
  2. required String data,
  3. required DatedFile frontSide,
  4. DatedFile? reverseSide,
  5. DatedFile? selfie,
  6. required List<DatedFile> translation,
  7. required List<DatedFile> files,
  8. required String value,
  9. required String hash,
})

Contains information about an encrypted Telegram Passport element; for bots only

Implementation

const EncryptedPassportElement({
  required this.type,
  required this.data,
  required this.frontSide,
  this.reverseSide,
  this.selfie,
  required this.translation,
  required this.files,
  required this.value,
  required this.hash,
});