InputIdentityDocument class

An identity document to be saved to Telegram Passport.

Inheritance
Available Extensions

Constructors

InputIdentityDocument({required String number, Date? expiration_date, required InputFile front_side, InputFile? reverse_side, InputFile? selfie, required List<InputFile> translation, int? extra, int? clientId})
An identity document to be saved to Telegram Passport

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
expiration_date Date?
Document expiration date; pass null if not applicable.
read / write
extra int?
Request identifier. Must be non-zero.
read / writeoverride
front_side InputFile
Front side of the document.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
number String
Document number; 1-24 characters.
read / write
reverse_side InputFile?
Reverse side of the document; only for driver license and identity card; pass null otherwise.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
selfie InputFile?
Selfie with the document; pass null if unavailable.
read / write
translation List<InputFile>
List of files containing a certified English translation of the document.
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) InputIdentityDocument?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"inputIdentityDocument"