PassportSuitableElement class
Contains information about a Telegram Passport element that was requested by a service.
- Inheritance
- Available Extensions
Constructors
- PassportSuitableElement({required PassportElementType type, required bool is_selfie_required, required bool is_translation_required, required bool is_native_name_required, int? extra, int? clientId})
- Contains information about a Telegram Passport element that was requested by a service
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- is_native_name_required ↔ bool
-
True, if personal details must include the user's name in the language of their country of residence.
read / write
- is_selfie_required ↔ bool
-
True, if a selfie is required with the identity document.
read / write
- is_translation_required ↔ bool
-
True, if a certified English translation is required with the document.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- type ↔ PassportElementType
-
Type of the element.
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) → PassportSuitableElement? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"passportSuitableElement"