EncryptedPassportElement class

Implemented types

Constructors

EncryptedPassportElement({dynamic type, String data, DatedFile frontSide, DatedFile reverseSide, DatedFile selfie, List<DatedFile> translation, List<DatedFile> files, String value, String hash})
Contains information about an encrypted Telegram Passport element; for bots only. type Type of Telegram Passport element . data Encrypted JSON-encoded data about the user . frontSide The front side of an identity document . reverseSide The reverse side of an identity document; may be null . selfie Selfie with the document; may be null . translation List of files containing a certified English translation of the document . files List of attached files . value Unencrypted data, phone number or email address . hash Hash of the entire element
EncryptedPassportElement.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

data String
read / write
files List<DatedFile>
read / write
frontSide DatedFile
read / write
hash String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
reverseSide DatedFile
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selfie DatedFile
read / write
translation List<DatedFile>
read / write
type ↔ dynamic
read / write
value String
read / write

Methods

getConstructor() String
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toJson() Map<String, dynamic>
override
toString() String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) bool
The equality operator. [...]
inherited

Constants

CONSTRUCTOR → const String
"encryptedPassportElement"