EncryptedPassportElement class

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

Inheritance
Available Extensions

Constructors

EncryptedPassportElement({required PassportElementType type, required bytes data, required DatedFile front_side, DatedFile? reverse_side, DatedFile? selfie, required List<DatedFile> translation, required List<DatedFile> files, required String value, required String hash, int? extra, int? clientId})
Contains information about an encrypted Telegram Passport element; for bots only

Properties

clientId ↔ int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
data ↔ bytes
Encrypted JSON-encoded data about the user. ; base64-encoded bytes List<int>
read / write
extra ↔ int?
Request identifier. Must be non-zero.
read / writeoverride
files ↔ List<DatedFile>
List of attached files.
read / write
front_side ↔ DatedFile
The front side of an identity document.
read / write
hash ↔ String
Hash of the entire element.
read / write
hashCode → int
The hash code for this object.
read-onlyinherited
reverse_side ↔ DatedFile?
The reverse side of an identity document; may be null.
read / write
runtimeType → Type
A representation of the runtime type of the object.
read-onlyinherited
selfie ↔ DatedFile?
Selfie with the document; may be null.
read / write
translation ↔ List<DatedFile>
List of files containing a certified English translation of the document.
read / write
type ↔ PassportElementType
Type of Telegram Passport element.
read / write
value ↔ String
Unencrypted data, phone number or email address.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Object to Map serializer
override
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) → EncryptedPassportElement?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"encryptedPassportElement"