InputIdentityDocument class

Implemented types

Constructors

InputIdentityDocument({String number, Date expiryDate, dynamic frontSide, dynamic reverseSide, dynamic selfie, List translation})
An identity document to be saved to Telegram Passport. number Document number; 1-24 characters . expiryDate Document expiry date, if available . frontSide Front side of the document. reverseSide Reverse side of the document; only for driver license and identity card . selfie Selfie with the document, if available . translation List of files containing a certified English translation of the document
InputIdentityDocument.fromJson(Map<String, dynamic> json)
Parse from a json

Properties

expiryDate Date
read / write
frontSide ↔ dynamic
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
number String
read / write
reverseSide ↔ dynamic
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
selfie ↔ dynamic
read / write
translation List
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
"inputIdentityDocument"